Fix LBTC API call endpoints
This commit is contained in:
parent
132e58735a
commit
631859a989
|
@ -570,7 +570,7 @@ class LocalBitcoins:
|
||||||
https://localbitcoins.com/api-docs/#ad-equation-id
|
https://localbitcoins.com/api-docs/#ad-equation-id
|
||||||
"""
|
"""
|
||||||
return self._api_call(
|
return self._api_call(
|
||||||
api_method=f"ad-equation/{ad_id}/",
|
api_method=f"api/ad-equation/{ad_id}/",
|
||||||
http_method="POST",
|
http_method="POST",
|
||||||
query_values={"price_equation": price_equation},
|
query_values={"price_equation": price_equation},
|
||||||
)
|
)
|
||||||
|
@ -580,7 +580,7 @@ class LocalBitcoins:
|
||||||
|
|
||||||
https://localbitcoins.com/api-docs/#ad-delete
|
https://localbitcoins.com/api-docs/#ad-delete
|
||||||
"""
|
"""
|
||||||
return self._api_call(api_method=f"ad-delete/{ad_id}/", http_method="POST")
|
return self._api_call(api_method=f"api/ad-delete/{ad_id}/", http_method="POST")
|
||||||
|
|
||||||
def ads(
|
def ads(
|
||||||
self,
|
self,
|
||||||
|
|
Loading…
Reference in New Issue