Don't print the JSON of webhooks

master
Mark Veidemanis 1 year ago
parent 6464b6de05
commit 6385339b7b
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -1,5 +1,3 @@
import json
from django.contrib.auth.mixins import LoginRequiredMixin
from django.db import IntegrityError
from django.http import HttpResponse
@ -118,7 +116,7 @@ class AssetGroupAPI(APIView):
def post(self, request, webhook_id):
# log.debug(f"AssetAPI POST {webhook_id}: {request.data}")
print(json.dumps(request.data, indent=2))
# print(json.dumps(request.data, indent=2))
try:
group = AssetGroup.objects.get(webhook_id=webhook_id)

Loading…
Cancel
Save