diff --git a/dmapiclient/__init__.py b/dmapiclient/__init__.py index dd7f868..be24e14 100644 --- a/dmapiclient/__init__.py +++ b/dmapiclient/__init__.py @@ -1,4 +1,4 @@ -__version__ = '23.1.1' +__version__ = '23.1.2' from .errors import APIError, HTTPError, InvalidResponse # noqa from .errors import REQUEST_ERROR_STATUS_CODE, REQUEST_ERROR_MESSAGE # noqa diff --git a/dmapiclient/data.py b/dmapiclient/data.py index 4422b04..3129be9 100644 --- a/dmapiclient/data.py +++ b/dmapiclient/data.py @@ -1042,9 +1042,9 @@ def get_framework_agreement(self, framework_agreement_id): return self._get( "/agreements/{}".format(framework_agreement_id)) - def get_supplier_framework_agreement(self, framework_slug, supplier_id): + def get_supplier_framework_agreement(self, framework_slug): return self._get( - "/agreements/{}/{}".format(framework_slug, supplier_id)) + "/agreements/{}".format(framework_slug)) def create_framework_agreement(self, supplier_id, framework_slug, user=None): return self._post_with_updated_by(