message
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Füleki Fábián 2020-03-30 16:52:15 +02:00
parent 3c8229238c
commit 68e2eaffcb

View File

@ -4,6 +4,5 @@ from flask import request, current_app, Response
class LogView(FlaskView):
def get(self):
remote_uuid = request.json['uuid']
current_app.logger.info(f"New message from {remote_uuid}: {request.message}")
current_app.logger.info(f"New message from: {request.json['message']}")
return Response(status=204)