diff --git a/consumer_api/views/log_view.py b/consumer_api/views/log_view.py index 808c98e..c63e682 100644 --- a/consumer_api/views/log_view.py +++ b/consumer_api/views/log_view.py @@ -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)