fix: allow unmarking host as no-show (#27694)
* fix: allow unmarking host as no-show and filter invalid attendees in updateAttendees Co-Authored-By: hariom@cal.com <hariombalhara@gmail.com> * revert: remove updateAttendees change per review feedback Co-Authored-By: hariom@cal.com <hariombalhara@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
1 file changed
+3
-3
@@ -391,9 +391,9 @@ const handleMarkNoShow = async ({
|
||||
await handleSendingAttendeeNoShowDataToApps(bookingUid, attendees);
|
||||
}
|
||||
|
||||
if (noShowHost) {
|
||||
await bookingRepository.updateNoShowHost({ bookingUid, noShowHost: true });
|
||||
responsePayload.setNoShowHost(true);
|
||||
if (noShowHost !== undefined) {
|
||||
await bookingRepository.updateNoShowHost({ bookingUid, noShowHost });
|
||||
responsePayload.setNoShowHost(noShowHost);
|
||||
responsePayload.setMessage(t("booking_no_show_updated"));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user