diff --git a/api/views.py b/api/views.py index 0175917..cfb7d6e 100644 --- a/api/views.py +++ b/api/views.py @@ -65,7 +65,7 @@ def NewSnapshot(request): # save_in_disk(data, tk.user) try: - Build(data, tk.user) + Build(data, tk.owner) except Exception: return JsonResponse({'status': 'fail'}, status=200)