Bump hook when received
This commit is contained in:
parent
67efd01c15
commit
a433a4f4b7
|
@ -30,6 +30,8 @@ class HookAPI(APIView):
|
||||||
data=request.data,
|
data=request.data,
|
||||||
)
|
)
|
||||||
callback.save()
|
callback.save()
|
||||||
|
hook.received = hook.received += 1
|
||||||
|
hook.save()
|
||||||
print("SAVED")
|
print("SAVED")
|
||||||
|
|
||||||
return HttpResponse("OK")
|
return HttpResponse("OK")
|
||||||
|
|
Loading…
Reference in New Issue