From 68e2eaffcba9023b9befeff266545d92a2a5eaa4 Mon Sep 17 00:00:00 2001 From: Fabian Date: Mon, 30 Mar 2020 16:52:15 +0200 Subject: [PATCH] message --- consumer_api/views/log_view.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/consumer_api/views/log_view.py b/consumer_api/views/log_view.py index 1ce37d1..808c98e 100644 --- a/consumer_api/views/log_view.py +++ b/consumer_api/views/log_view.py @@ -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)