Update src/Module/Api/Mastodon/PushSubscription.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Philipp 2022-09-26 07:25:04 +02:00 committed by GitHub
parent 5c88813775
commit 883a2ee71b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,8 +132,9 @@ class PushSubscription extends BaseApi
$ret = Subscription::delete($application['id'], $uid);
$this->logger->info('Subscription deleted', [
'result' => $ret, 'application-id' => $application['id'],
'uid' => $uid
'result' => $ret,
'application-id' => $application['id'],
'uid' => $uid,
]);
$this->response->exitWithJson([]);