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:24:55 +02:00 committed by GitHub
parent 2d4598a4db
commit 5c88813775
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,8 +113,10 @@ class PushSubscription extends BaseApi
$ret = Subscription::update($application['id'], $uid, $fields);
$this->logger->info('Subscription updated', [
'result' => $ret, 'application-id' => $application['id'],
'uid' => $uid, 'fields' => $fields
'result' => $ret,
'application-id' => $application['id'],
'uid' => $uid,
'fields' => $fields,
]);
$subscriptionObj = $this->subscriptionFac->createForApplicationIdAndUserId($application['id'], $uid);