Don't print the JSON of webhooks
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user