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):
|
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,
|
||||||
|
|
Loading…
Reference in New Issue