refactor: use clear error check

pull/9/head
sualko 2020-04-27 16:39:49 +02:00
parent 47edbefc48
commit 4b901f205a
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}