mirror of https://github.com/sualko/cloud_bbb
refactor: use clear error check
parent
47edbefc48
commit
4b901f205a
|
@ -144,7 +144,7 @@ class JoinController extends PublicShareController
|
|||
throw new \Exception('Can not process create request');
|
||||
}
|
||||
|
||||
if ($response->failed()) {
|
||||
if (!$response->success()) {
|
||||
throw new \Exception('Can not create meeting');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue