Pass platform to calls

This commit is contained in:
Mark Veidemanis 2022-04-18 17:23:17 +01:00
parent 9b3f36cc44
commit 98103c5680
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ class GenericCommands(object):
if asset not in loads(asset_list): if asset not in loads(asset_list):
msg(f"Not a valid asset: {asset}") msg(f"Not a valid asset: {asset}")
return return
_, account_info = tx.markets.get_valid_account_details() _, account_info = tx.markets.get_valid_account_details(caller.platform)
posted = caller.create_ad( posted = caller.create_ad(
asset, asset,
country, country,
@ -57,7 +57,7 @@ class GenericCommands(object):
if provider not in loads(provider_list): if provider not in loads(provider_list):
msg(f"Not a valid provider: {provider}") msg(f"Not a valid provider: {provider}")
return return
_, account_info = tx.markets.get_valid_account_details() _, account_info = tx.markets.get_valid_account_details(caller.platform)
posted = caller.create_ad( posted = caller.create_ad(
asset, asset,
country, country,