1
0
Fork 0

return transport defined response on subscription updates just like on new registrations

This commit is contained in:
Jonathan Treffler 2024-07-24 14:23:16 +02:00
parent 3551e6fc38
commit 7aefdcca3d
2 changed files with 2 additions and 0 deletions

View file

@ -169,6 +169,7 @@ class SubscriptionManagementPlugin extends ServerPlugin {
[
'success' => $updateSuccess,
'errors' => $updateErrors,
'response' => $responseContent,
] = $transport->updateSubscription($subscription->getId(), $subscriptionOptions);
if(!$updateSuccess) {

View file

@ -111,6 +111,7 @@ class WebPushTransport extends Transport {
// there are no options which can be edited -> NOOP
return [
'success' => True,
'response' => "",
];
}
}