dev-fabian #2

Merged
marcsello merged 7 commits from dev-fabian into dev 2020-03-30 17:18:54 +02:00
Showing only changes of commit 3c8229238c - Show all commits

View File

@ -8,4 +8,4 @@ class ConsumersView(FlaskView):
def get(self):
consumer_list = json.loads((redis_client.get("consumer_list") or b"{}").decode('utf-8'))
return [v['ip'] for k, v in consumer_list.items()]
return jsonify([v['ip'] for k, v in consumer_list.items()])