diff --git a/src/Service/ZaakService.php b/src/Service/ZaakService.php index 2b82c8f..9972660 100644 --- a/src/Service/ZaakService.php +++ b/src/Service/ZaakService.php @@ -508,9 +508,7 @@ public function zaakHandler(?array $data = [], ?array $configuration = []) if (isset($data['caseId']) === true) { $zaak = $this->getZaak($configuration, $data['caseId']); - } - - if (isset($data['body']['case_uuid']) === true) { + } else if (isset($data['body']['case_uuid']) === true) { $zaak = $this->getZaak($configuration, $data['body']['case_uuid']); }