fix api token owner for user
This commit is contained in:
parent
4e9df475c3
commit
d638b12d39
|
@ -65,7 +65,7 @@ def NewSnapshot(request):
|
||||||
# save_in_disk(data, tk.user)
|
# save_in_disk(data, tk.user)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
Build(data, tk.user)
|
Build(data, tk.owner)
|
||||||
except Exception:
|
except Exception:
|
||||||
return JsonResponse({'status': 'fail'}, status=200)
|
return JsonResponse({'status': 'fail'}, status=200)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue