Fixed wrong endpoint name
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
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
Block a user