Rename Agora trades function
This commit is contained in:
parent
7b59a28c4d
commit
48b1871cf8
|
@ -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
|
||||
|
||||
|
|
|
@ -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/<string:contact_id>")
|
||||
|
|
Loading…
Reference in New Issue