X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FApi%2FMastodon%2FNotifications%2FDismiss.php;h=9771f1df6fd0aefbffee77f79eeecad8f2a9b7e6;hb=1b9ec3a2147fc10e4037ff1b2a7aac506cdf3b13;hp=cc8947972684548570b7c5d2d0282547cfc07dea;hpb=7486ebdc10715b7204b70ce262052d28cb61c69e;p=friendica.git diff --git a/src/Module/Api/Mastodon/Notifications/Dismiss.php b/src/Module/Api/Mastodon/Notifications/Dismiss.php index cc89479726..9771f1df6f 100644 --- a/src/Module/Api/Mastodon/Notifications/Dismiss.php +++ b/src/Module/Api/Mastodon/Notifications/Dismiss.php @@ -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']];