diff --git a/application/libraries/Api/Command/V1/SurveyPatch/OpHandlerSurveyUpdate.php b/application/libraries/Api/Command/V1/SurveyPatch/OpHandlerSurveyUpdate.php index 9cee2df20a2..95cec376146 100644 --- a/application/libraries/Api/Command/V1/SurveyPatch/OpHandlerSurveyUpdate.php +++ b/application/libraries/Api/Command/V1/SurveyPatch/OpHandlerSurveyUpdate.php @@ -82,7 +82,6 @@ public function handle(OpInterface $op): void */ public function isValidPatch(OpInterface $op): bool { - // TODO: Implement isValidPatch() method. - return true; + return ((int)$op->getEntityId()) > 0; } }