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:
Steve Howell
2013-07-31 10:09:30 -04:00
parent 7803cadd66
commit ab23c534b9
4 changed files with 6 additions and 6 deletions

View File

@@ -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