This commit is contained in:
parent
68e2eaffcb
commit
0c18cf9bf1
@ -3,6 +3,6 @@ from flask import request, current_app, Response
|
|||||||
|
|
||||||
class LogView(FlaskView):
|
class LogView(FlaskView):
|
||||||
|
|
||||||
def get(self):
|
def post(self):
|
||||||
current_app.logger.info(f"New message from: {request.json['message']}")
|
current_app.logger.info(f"New message: {request.json['message']}")
|
||||||
return Response(status=204)
|
return Response(status=204)
|
||||||
|
Reference in New Issue
Block a user