mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
register_server: POST requests take data, not params.
This currently _works_, but only because we are very forgiving about how we parse requests.
This commit is contained in:
committed by
Tim Abbott
parent
aebafcc43f
commit
44e9171a46
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user