Improve ping route logging
This commit is contained in:
@@ -316,6 +316,9 @@ class PingView(views.APIView):
|
||||
permission_classes = [AllowMetadata | IsAuthenticated]
|
||||
|
||||
def post(self, request):
|
||||
d = request.data.dict()
|
||||
if d:
|
||||
logger.info(str(d))
|
||||
return Response(200)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user