dev-fabian #2

Merged
marcsello merged 7 commits from dev-fabian into dev 2020-03-30 17:18:54 +02:00
Showing only changes of commit 0c18cf9bf1 - Show all commits

View File

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