From 631859a989ec1e6a79cbcbe12402db1f97bb7479 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Wed, 20 Apr 2022 20:45:30 +0100 Subject: [PATCH] Fix LBTC API call endpoints --- handler/lib/localbitcoins_py.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handler/lib/localbitcoins_py.py b/handler/lib/localbitcoins_py.py index 0a023ec..6ef8ab2 100644 --- a/handler/lib/localbitcoins_py.py +++ b/handler/lib/localbitcoins_py.py @@ -570,7 +570,7 @@ class LocalBitcoins: https://localbitcoins.com/api-docs/#ad-equation-id """ return self._api_call( - api_method=f"ad-equation/{ad_id}/", + api_method=f"api/ad-equation/{ad_id}/", http_method="POST", query_values={"price_equation": price_equation}, ) @@ -580,7 +580,7 @@ class LocalBitcoins: 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( self,