From 20bee844ef0a77688a2c6838036b938a45da4afd Mon Sep 17 00:00:00 2001 From: marcsello Date: Wed, 22 Apr 2020 05:05:16 +0200 Subject: [PATCH] Fixed wrong endpoint name --- endpoints.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/endpoints.py b/endpoints.py index 5f07f02..34aa678 100644 --- a/endpoints.py +++ b/endpoints.py @@ -6,6 +6,8 @@ from flask_classful import FlaskView class IPEndpoint(FlaskView): + route_base = '/ip' + def post(self): consumer = json.loads(redis_client.get('currentConsumer')) consumer['Host'] = request.json['ip']