mirror of https://github.com/zulip/zulip.git
push_notifs: Drop illusory ios_app_id param on unregister at bouncer.
This parameter appeared here on the function definition, but because it lacked a `REQ` call it didn't actually connect to any parameter passed in the HTTP request. It doesn't make any sense on this endpoint anyway -- presumably it was copy-pasted from its "register" counterpart -- so just cut it.
This commit is contained in:
parent
be2a9a03d0
commit
052eddbac8
|
@ -206,7 +206,6 @@ def unregister_remote_push_device(
|
|||
token_kind: int = REQ(json_validator=check_int),
|
||||
user_id: Optional[int] = REQ(json_validator=check_int, default=None),
|
||||
user_uuid: Optional[str] = REQ(default=None),
|
||||
ios_app_id: Optional[str] = None,
|
||||
) -> HttpResponse:
|
||||
validate_bouncer_token_request(token, token_kind)
|
||||
user_identity = UserPushIdentityCompat(user_id=user_id, user_uuid=user_uuid)
|
||||
|
|
Loading…
Reference in New Issue