Standards
This commit is contained in:
parent
69f11c4a84
commit
2c1b33af87
|
@ -45,12 +45,12 @@ class PushSubscription
|
|||
|
||||
$auth = [
|
||||
'VAPID' => [
|
||||
'subject' => DI::baseUrl()->getHostname(),
|
||||
'publicKey' => ModelSubscription::getPublicVapidKey(),
|
||||
'subject' => DI::baseUrl()->getHostname(),
|
||||
'publicKey' => ModelSubscription::getPublicVapidKey(),
|
||||
'privateKey' => ModelSubscription::getPrivateVapidKey(),
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
$webPush = new WebPush($auth);
|
||||
|
||||
$report = $webPush->sendOneNotification(
|
||||
|
|
Loading…
Reference in a new issue