First release #3
@ -4,6 +4,5 @@ from flask import request, current_app, Response
|
|||||||
class LogView(FlaskView):
|
class LogView(FlaskView):
|
||||||
|
|
||||||
def get(self):
|
def get(self):
|
||||||
remote_uuid = request.json['uuid']
|
current_app.logger.info(f"New message from: {request.json['message']}")
|
||||||
current_app.logger.info(f"New message from {remote_uuid}: {request.message}")
|
|
||||||
return Response(status=204)
|
return Response(status=204)
|
||||||
|
Reference in New Issue
Block a user