mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
/json/bots: Replace email with user_id in API to update bots.
This commit is contained in:
committed by
Tim Abbott
parent
3e04aa99fa
commit
d6e2f9fc88
@@ -138,7 +138,7 @@ v1_api_and_json_patterns = [
|
||||
'POST': 'zerver.views.users.add_bot_backend'}),
|
||||
url(r'^bots/(?!me/)(?P<email>[^/]*)/api_key/regenerate$', rest_dispatch,
|
||||
{'POST': 'zerver.views.users.regenerate_bot_api_key'}),
|
||||
url(r'^bots/(?!me/)(?P<email>[^/]*)$', rest_dispatch,
|
||||
url(r'^bots/(?P<bot_id>[0-9]+)$', rest_dispatch,
|
||||
{'PATCH': 'zerver.views.users.patch_bot_backend',
|
||||
'DELETE': 'zerver.views.users.deactivate_bot_backend'}),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user