Bump hook when received

This commit is contained in:
2022-10-15 23:10:18 +01:00
parent 67efd01c15
commit a433a4f4b7

View File

@@ -30,6 +30,8 @@ class HookAPI(APIView):
data=request.data,
)
callback.save()
hook.received = hook.received += 1
hook.save()
print("SAVED")
return HttpResponse("OK")