mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
Use POST, not PATCH, for patching bots.
This is a temporary expedient measure to work around our PATCH not supporting file uploads in our current Django setup. (imported from commit c3146b23d5d7d134c2b80507eb87033ca375a4db)
This commit is contained in:
@@ -2027,7 +2027,7 @@ def deactivate_user_backend(request, user_profile, email):
|
||||
return json_success({})
|
||||
|
||||
@has_request_variables
|
||||
def patch_bot_backend(request, user_profile, email, full_name=REQ):
|
||||
def update_bot_backend(request, user_profile, email, full_name=REQ):
|
||||
# TODO:
|
||||
# 1) Validate data
|
||||
# 2) Support avatar changes
|
||||
|
||||
Reference in New Issue
Block a user