From 98103c5680f5410923b94bbd983a297c2042a7f5 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 18 Apr 2022 17:23:17 +0100 Subject: [PATCH] Pass platform to calls --- handler/ux/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handler/ux/commands.py b/handler/ux/commands.py index 8e20884..fccf2ea 100644 --- a/handler/ux/commands.py +++ b/handler/ux/commands.py @@ -34,7 +34,7 @@ class GenericCommands(object): if asset not in loads(asset_list): msg(f"Not a valid asset: {asset}") return - _, account_info = tx.markets.get_valid_account_details() + _, account_info = tx.markets.get_valid_account_details(caller.platform) posted = caller.create_ad( asset, country, @@ -57,7 +57,7 @@ class GenericCommands(object): if provider not in loads(provider_list): msg(f"Not a valid provider: {provider}") return - _, account_info = tx.markets.get_valid_account_details() + _, account_info = tx.markets.get_valid_account_details(caller.platform) posted = caller.create_ad( asset, country,