From 35f976821db783791571db4af102f108efe5b4b5 Mon Sep 17 00:00:00 2001 From: Timo Pollmeier Date: Fri, 13 Dec 2024 09:03:11 +0100 Subject: [PATCH] Fix: Convert matchCriteriaId to string for HTTP requests --- pontos/nvd/cpe_match/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pontos/nvd/cpe_match/api.py b/pontos/nvd/cpe_match/api.py index d7efd9ea0..22d3594e5 100644 --- a/pontos/nvd/cpe_match/api.py +++ b/pontos/nvd/cpe_match/api.py @@ -190,7 +190,7 @@ async def cpe_match(self, match_criteria_id: str) -> CPEMatchString: raise PontosError("Missing Match Criteria ID.") response = await self._get( - params={"matchCriteriaId": match_criteria_id} + params={"matchCriteriaId": str(match_criteria_id)} ) response.raise_for_status() data = response.json(object_hook=convert_camel_case)