mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
push_notifs: Log the number of devices notification was sent to.
This commit is contained in:
committed by
Tim Abbott
parent
ed023db0f4
commit
0af7c84c99
@@ -107,8 +107,10 @@ def send_to_push_bouncer(
|
||||
return orjson.loads(res.content)
|
||||
|
||||
|
||||
def send_json_to_push_bouncer(method: str, endpoint: str, post_data: Mapping[str, object]) -> None:
|
||||
send_to_push_bouncer(
|
||||
def send_json_to_push_bouncer(
|
||||
method: str, endpoint: str, post_data: Mapping[str, object]
|
||||
) -> Dict[str, object]:
|
||||
return send_to_push_bouncer(
|
||||
method,
|
||||
endpoint,
|
||||
orjson.dumps(post_data),
|
||||
|
||||
Reference in New Issue
Block a user