From 48b1871cf8d338315cae809915cae9928bb668fe Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 24 Dec 2021 17:35:17 +0000 Subject: [PATCH] Rename Agora trades function --- handler/agora.py | 2 +- handler/app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/handler/agora.py b/handler/agora.py index 141477a..dd5b844 100644 --- a/handler/agora.py +++ b/handler/agora.py @@ -31,7 +31,7 @@ class Agora(object): self.log.error("Cannot parse {content}", content=data.content) return str(data.content) - def get_active_trades(self): + def dashboard(self): rtrn = self.agora.dashboard() return rtrn diff --git a/handler/app.py b/handler/app.py index 250d96e..008b7f9 100755 --- a/handler/app.py +++ b/handler/app.py @@ -74,7 +74,7 @@ class WebApp(object): @app.route("/trades") def trades(self, request): - trade_list = self.agora.get_active_trades() + trade_list = self.agora.dashboard() return dumps(trade_list) @app.route("/messages/")