return json
This commit is contained in:
parent
31c1ee7fba
commit
2c6308cf87
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ Positions
|
|||
'''
|
||||
if request.user.is_anonymous() or request.user.get_profile().get_level() != 'admin':
|
||||
response = json_response(status=403, text='permission denied')
|
||||
return
|
||||
return response
|
||||
response = json_response(status=200, text='ok')
|
||||
|
||||
data = json.loads(request.POST['data'])
|
||||
|
|
Loading…
Reference in a new issue