Pass platform to calls
This commit is contained in:
parent
9b3f36cc44
commit
98103c5680
|
@ -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…
Reference in New Issue