Fixed wrong endpoint name
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
265c7f6e85
commit
20bee844ef
|
@ -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']
|
||||
|
|
Reference in New Issue