Add platform and fix some calls
This commit is contained in:
parent
9cc655a6a1
commit
ac140f6aee
|
@ -533,7 +533,7 @@ class Agora(util.Base):
|
||||||
:return: False or dict with response
|
:return: False or dict with response
|
||||||
:rtype: bool or dict
|
:rtype: bool or dict
|
||||||
"""
|
"""
|
||||||
dist_list = list(self.markets.create_distribution_list(filter_asset))
|
dist_list = list(self.markets.create_distribution_list(self.platform, filter_asset))
|
||||||
our_ads = self.enum_ads()
|
our_ads = self.enum_ads()
|
||||||
(
|
(
|
||||||
supported_currencies,
|
supported_currencies,
|
||||||
|
|
|
@ -199,8 +199,8 @@ class LBTC(util.Base):
|
||||||
return messages_tmp
|
return messages_tmp
|
||||||
|
|
||||||
@util.handle_exceptions
|
@util.handle_exceptions
|
||||||
def enum_ad_ids(self, page=0):
|
def enum_ad_ids(self, page=1):
|
||||||
ads = self.lbtc._api_call(api_method="ads", query_values={"page": page})
|
ads = self.lbtc._api_call(api_method="api/ads/", query_values={"page": page})
|
||||||
if ads is False:
|
if ads is False:
|
||||||
return False
|
return False
|
||||||
ads_total = []
|
ads_total = []
|
||||||
|
|
Loading…
Reference in New Issue