Trim whitespace

This commit is contained in:
Michael 2021-08-15 22:09:32 +00:00
parent e3f8f371a7
commit 69c816eb17

View File

@ -109,7 +109,7 @@ class Subscription
{ {
$keypair = DI::config()->get('system', 'ec_keypair'); $keypair = DI::config()->get('system', 'ec_keypair');
if (empty($keypair['publicKey']) || empty($keypair['privateKey'])) { if (empty($keypair['publicKey']) || empty($keypair['privateKey'])) {
$keypair = VAPID::createVapidKeys(); $keypair = VAPID::createVapidKeys();
DI::config()->set('system', 'ec_keypair', $keypair); DI::config()->set('system', 'ec_keypair', $keypair);
} }
return $keypair; return $keypair;