From d638b12d395c85366e4a6d363c29547ae2839493 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 14 Oct 2024 12:22:28 +0200 Subject: [PATCH] fix api token owner for user --- api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)