Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

register_server: POST requests take data, not params.

Alex Vandiver44e9171a46fc
diff --git a/zerver/management/commands/register_server.py b/zerver/management/commands/register_server.py
index 8ec48d101f5..ec565cda250 100644
--- a/zerver/management/commands/register_server.py
+++ b/zerver/management/commands/register_server.py
@@ -124,7 +124,7 @@ class Command(ZulipBaseCommand):
registration_url = settings.PUSH_NOTIFICATION_BOUNCER_URL + url
session = PushBouncerSession()
try:
- response = session.post(registration_url, params=params)
+ response = session.post(registration_url, data=params)
except requests.RequestException:
raise CommandError(
"Network error connecting to push notifications service "