From bdde53f20176011ed8d0bb9437eda88211e00283 Mon Sep 17 00:00:00 2001 From: almabud Date: Wed, 9 Nov 2022 15:40:57 +0600 Subject: [PATCH] [fix_currency_url,63] Fixed doubling resource_id in the url build section. [fixed #63] --- rehive/api/resources/base_resources.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rehive/api/resources/base_resources.py b/rehive/api/resources/base_resources.py index 26c18a1..791435c 100644 --- a/rehive/api/resources/base_resources.py +++ b/rehive/api/resources/base_resources.py @@ -107,11 +107,6 @@ def _build_url(self, resource_id=None, **kwargs): else: endpoint = self.endpoint endpoint = self._append_trailing_slash(endpoint) - if (self.resource_identifier is not None): - endpoint = urllib.parse.urljoin( - endpoint, self.resource_identifier - ) - endpoint = self._append_trailing_slash(endpoint) if kwargs.get('filters'): filters = kwargs.get('filters') filters_clean = {}