Merge pull request #18975 from Ithanil/fix_isbreakout_api

fix: check for presence of parentMeetingID if isBreakout is true
This commit is contained in:
Anton Georgiev 2023-10-19 14:35:05 -04:00 committed by GitHub
commit d24cdfde6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}