diff --git a/apps/spotlight/views.py b/apps/spotlight/views.py index 4d61b0c..ad6511f 100644 --- a/apps/spotlight/views.py +++ b/apps/spotlight/views.py @@ -94,7 +94,7 @@ def post(self, request, *args, **kwargs): try: ActionService.action(code=code, workspace_id=workspace_id) - return JsonResponse(data={"message": "Action triggered successfully"}, status_code=200) + return JsonResponse(data={"message": "Action triggered successfully"}, status=200) except Exception as e: print(e) - return JsonResponse(data={"message": "Action failed"}, status_code=500) + return JsonResponse(data={"message": "Action failed"}, status=500)