Improve ping route logging
This commit is contained in:
parent
dd526bd824
commit
9f5d54d83f
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user