Call the base class from TrueLayer with our fetched transactions

This commit is contained in:
2022-03-07 20:10:59 +00:00
parent cbb7294f23
commit aefa6c58a4
2 changed files with 16 additions and 1 deletions

View File

@@ -462,7 +462,8 @@ class IRCCommands(object):
if length == 2:
account = spl[1]
accounts = tx.sinks.truelayer.get_accounts(account)
msg(dumps(accounts))
for account in accounts["results"]:
msg(f"{account['account_id']} {account['display_name']} {account['currency']}")
class transactions(object):
name = "transactions"