Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-10-06 17:38:30 +0300
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2022-10-12 17:28:32 +0300
commitf754bd3da2c1a46ea953abd4715adc4df31ce8af (patch)
tree1a59c8252805783be8f3ecb1bf10f7c757b457b5
parentea68a9e46c9bc9667876516c3c6e29fecd0782c0 (diff)
Send the subscription key to the Community push proxybackport/1316/stable19
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/Push.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Push.php b/lib/Push.php
index c3f6405..6279949 100644
--- a/lib/Push.php
+++ b/lib/Push.php
@@ -260,7 +260,7 @@ class Push {
$client = $this->clientService->newClient();
foreach ($pushNotifications as $proxyServer => $notifications) {
try {
- $response = $client->post($proxyServer . '/notifications', [
+ $requestData = [
'body' => [
'notifications' => $notifications,
],