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:
authored and GitHub committed 2026-02-09 13:14:53 +00:00
1 parent e04a394e1c
commit 0a2d0854e7
1 file changed
+3 -3
+3 -3
View File
@@ -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"));
}