Bump hook when received
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user