fix: meeting not getting deleted (#7878)
This commit is contained in:
1 parent
d1ca7b4bdd
commit
1bf50e09cd
1 file changed
+2
-1
@@ -494,7 +494,8 @@ async function handler(req: CustomRequest) {
|
|||||||
bookingToDelete.user.credentials
|
bookingToDelete.user.credentials
|
||||||
.filter((credential) => credential.type.endsWith("_video"))
|
.filter((credential) => credential.type.endsWith("_video"))
|
||||||
.forEach((credential) => {
|
.forEach((credential) => {
|
||||||
apiDeletes.push(deleteMeeting(credential, bookingToDelete.uid));
|
const uidToDelete = bookingToDelete?.references?.[0].uid ?? bookingToDelete.uid;
|
||||||
|
apiDeletes.push(deleteMeeting(credential, uidToDelete));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user