Force exits in PushSubscription PUT, POST and DELETE endpoints

- These add their own content to the response, which makes rawContent() redundant
This commit is contained in:
Hypolite Petovan 2025-01-04 21:49:05 -05:00
parent 4d146c93d4
commit f53292cb11
2 changed files with 4 additions and 4 deletions

View file

@ -92,6 +92,6 @@ class UpdateCredentials extends BaseApi
}
$account = DI::mstdnAccount()->createFromContactId($ucid, $uid);
$this->response->addJsonContent($account->toArray());
$this->jsonExit($account->toArray());
}
}