1
0
Fork 0

Coding standards

This commit is contained in:
Michael 2021-08-15 21:01:58 +00:00
parent 977d28353c
commit 5cf0da4140

View file

@ -34,7 +34,7 @@ Class PushSubscription
$notification = [
'subscription' => Subscription::create([
'endpoint' => $subscription['endpoint'],
'endpoint' => $subscription['endpoint'],
'publicKey' => $subscription['pubkey'],
'authToken' => $subscription['secret'],
]),
@ -47,7 +47,7 @@ Class PushSubscription
$notification['subscription'],
$notification['payload']
);
$endpoint = $report->getRequest()->getUri()->__toString();
if ($report->isSuccess()) {