diff --git a/core/views/hooks.py b/core/views/hooks.py index b57c310..af820d9 100644 --- a/core/views/hooks.py +++ b/core/views/hooks.py @@ -30,6 +30,8 @@ class HookAPI(APIView): data=request.data, ) callback.save() + hook.received = hook.received += 1 + hook.save() print("SAVED") return HttpResponse("OK")