Pass platform to calls

master
Mark Veidemanis 2 years ago
parent 9b3f36cc44
commit 98103c5680
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -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,

Loading…
Cancel
Save