First release #3

Manually merged
marcsello merged 12 commits from dev into master 2020-04-01 01:52:15 +02:00
Showing only changes of commit 3c8229238c - Show all commits

View File

@ -8,4 +8,4 @@ class ConsumersView(FlaskView):
def get(self): def get(self):
consumer_list = json.loads((redis_client.get("consumer_list") or b"{}").decode('utf-8')) 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()])