mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
Split bot deactivation from user deactivation
(imported from commit 153a870b244e040e3b5976f639866dbace5563f6)
This commit is contained in:
@@ -226,7 +226,8 @@ v1_api_and_json_patterns = patterns('zerver.views',
|
||||
url(r'^bots/(?P<email>.*)/api_key/regenerate$', 'rest_dispatch',
|
||||
{'POST': 'regenerate_bot_api_key'}),
|
||||
url(r'^bots/(?P<email>.*)$', 'rest_dispatch',
|
||||
{'PATCH': 'patch_bot_backend'}),
|
||||
{'PATCH': 'patch_bot_backend',
|
||||
'DELETE': 'deactivate_bot_backend'}),
|
||||
url(r'^register$', 'rest_dispatch',
|
||||
{'POST': 'api_events_register'}),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user