From 0c3161ef034116b6e6c692efce6ad18256fbaf9f Mon Sep 17 00:00:00 2001 From: Fabian Date: Mon, 30 Mar 2020 16:36:33 +0200 Subject: [PATCH] 204 --- consumer_api/views/log_view.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/consumer_api/views/log_view.py b/consumer_api/views/log_view.py index 99c762e..1ce37d1 100644 --- a/consumer_api/views/log_view.py +++ b/consumer_api/views/log_view.py @@ -1,10 +1,9 @@ from flask_classful import FlaskView -from flask import request, current_app, jsonify +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}") - return 200 - \ No newline at end of file + return Response(status=204)