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:13 +0300
commit1b88abede7ccf0ad56b8d0237decc480ca2697db (patch)
treedf12a334238fea3a446ec9d2d4a9c2379af931d5
parenta27e079193d1c33e7348593fc2b631a422227f84 (diff)
Send the subscription key to the Community push proxybackport/1316/stable20
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 b5d44dc..94c0001 100644
--- a/lib/Push.php
+++ b/lib/Push.php
@@ -281,7 +281,7 @@ class Push {
$client = $this->clientService->newClient();
foreach ($pushNotifications as $proxyServer => $notifications) {
try {
- $response = $client->post($proxyServer . '/notifications', [
+ $requestData = [
'body' => [
'notifications' => $notifications,
],