fix check for presence of parentMeetingId if isBreakout is true

This commit is contained in:
Jan Kessler 2023-10-19 10:47:09 +02:00
parent c89154d2a8
commit 520668632f

View File

@ -127,8 +127,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
}