From 5cd2d7501d453b33472eb29b43e6fec52526827e Mon Sep 17 00:00:00 2001 From: whoisxmlapi Date: Wed, 29 Nov 2023 14:41:33 +0200 Subject: [PATCH] Use new get_categories method in list_categories --- src/websitecategorization/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/websitecategorization/client.py b/src/websitecategorization/client.py index 11c172b..359025d 100644 --- a/src/websitecategorization/client.py +++ b/src/websitecategorization/client.py @@ -96,7 +96,7 @@ def list_categories(self, order: str or None = None, output_format: str or None _output_format = Client._validate_output_format(output_format) \ if output_format is not None else None - return self._api_requester.get( + return self._api_requester.get_categories( self._build_categories_list_payload( _order, _output_format