Fixed POST request key issue

doc_update
Joey Hines 2019-09-25 18:43:02 -05:00
parent d51b78af8d
commit 00d4f136de
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class CommandAPI(View):
def post(self, request, command):
post = request.POST
key = check_request_for_key(request)
key = check_request_for_key(post)
if key is not None:
return run_command(post, command, RequestTypes.POST, key)