]> git.mxchange.org Git - friendica.git/commitdiff
Standards
authorMichael <heluecht@pirati.ca>
Sun, 15 Aug 2021 21:30:27 +0000 (21:30 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 15 Aug 2021 21:30:27 +0000 (21:30 +0000)
src/Worker/PushSubscription.php

index aef82103be6886765f58a076f7cc3a7ca5e7d9ec..de385afa1c16d0a497fa72b37c90499526546acb 100644 (file)
@@ -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(