Improve ping route logging

This commit is contained in:
Tanner Collin 2020-08-03 03:22:35 +00:00
parent dd526bd824
commit 9f5d54d83f

View File

@ -316,6 +316,9 @@ class PingView(views.APIView):
permission_classes = [AllowMetadata | IsAuthenticated] permission_classes = [AllowMetadata | IsAuthenticated]
def post(self, request): def post(self, request):
d = request.data.dict()
if d:
logger.info(str(d))
return Response(200) return Response(200)