From d9993343fb68ce157bdf6d24e9e806b2cb9356a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Chr=C3=A1stek?= Date: Mon, 25 Nov 2024 10:57:38 +0100 Subject: [PATCH 1/2] fix(translation_status): Fix list_qa_check_issues endpoint URL --- crowdin_api/api_resources/translation_status/resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crowdin_api/api_resources/translation_status/resource.py b/crowdin_api/api_resources/translation_status/resource.py index afc36f1..e438324 100644 --- a/crowdin_api/api_resources/translation_status/resource.py +++ b/crowdin_api/api_resources/translation_status/resource.py @@ -161,6 +161,6 @@ def list_qa_check_issues( return self._get_entire_data( method="get", - path=f"projects/{projectId}/languages/progress", + path=f"projects/{projectId}/qa-checks", params=params, ) From bd1e52d51227fb9cb277711784f52a01ad167233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Chr=C3=A1stek?= Date: Mon, 25 Nov 2024 15:05:53 +0100 Subject: [PATCH 2/2] Fix test_list_qa_check_issues test --- .../tests/test_translation_status_resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crowdin_api/api_resources/translation_status/tests/test_translation_status_resources.py b/crowdin_api/api_resources/translation_status/tests/test_translation_status_resources.py index 83dcab0..0f74c13 100644 --- a/crowdin_api/api_resources/translation_status/tests/test_translation_status_resources.py +++ b/crowdin_api/api_resources/translation_status/tests/test_translation_status_resources.py @@ -121,5 +121,5 @@ def test_list_qa_check_issues(self, m_request, in_params, request_params, base_a resource = self.get_resource(base_absolut_url) assert resource.list_qa_check_issues(projectId=1, **in_params) == "response" m_request.assert_called_once_with( - method="get", path="projects/1/languages/progress", params=request_params + method="get", path="projects/1/qa-checks", params=request_params )