Fixed POST request key issue
parent
d51b78af8d
commit
00d4f136de
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue