fix: check for presence of parentMeetingID if isBreakout is true

This commit is contained in:
Jan Kessler 2023-11-14 13:12:29 -03:00 committed by André
parent 93b8705af2
commit bd7d956ec9

View File

@ -129,8 +129,8 @@ class ApiController {
return
}
if(params.isBreakout && !params.parentIdMeetingId) {
invalid("parentMeetingIdMissing", "No parent meeting ID was provided for the breakout room")
if(params.isBreakout == "true" && !params.parentMeetingID) {
invalid("parentMeetingIDMissing", "No parent meeting ID was provided for the breakout room")
return
}