]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Api/Mastodon/Notifications/Dismiss.php
Rename BaseApi->logErrorAndJsonExit to logAndJsonError to better match the functionality
[friendica.git] / src / Module / Api / Mastodon / Notifications / Dismiss.php
index cc8947972684548570b7c5d2d0282547cfc07dea..9771f1df6fd0aefbffee77f79eeecad8f2a9b7e6 100644 (file)
@@ -38,7 +38,7 @@ class Dismiss extends BaseApi
                $uid = self::getCurrentUserID();
 
                if (empty($this->parameters['id'])) {
-                       $this->logErrorAndJsonExit(422, $this->errorFactory->UnprocessableEntity());
+                       $this->logAndJsonError(422, $this->errorFactory->UnprocessableEntity());
                }
 
                $condition = ['id' => $this->parameters['id']];