Fixed wrong endpoint name
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Pünkösd Marcell 2020-04-22 05:05:16 +02:00
parent 265c7f6e85
commit 20bee844ef
1 changed files with 2 additions and 0 deletions

View File

@ -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']