Merge 88089f88c0
into 64b0f60368
This commit is contained in:
commit
d7b626ae9f
|
@ -437,7 +437,7 @@ class WebhookController extends \b8\Controller
|
||||||
{
|
{
|
||||||
$project = $this->projectStore->getById($projectId);
|
$project = $this->projectStore->getById($projectId);
|
||||||
|
|
||||||
if (empty($projectId)) {
|
if (empty($project)) {
|
||||||
throw new Exception('Project does not exist: ' . $projectId);
|
throw new Exception('Project does not exist: ' . $projectId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue