Skip to content

Commit

Permalink
Fix: Convert matchCriteriaId to string for HTTP requests
Browse files Browse the repository at this point in the history
  • Loading branch information
timopollmeier committed Dec 13, 2024
1 parent 1e5103c commit 35f9768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pontos/nvd/cpe_match/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 35f9768

Please sign in to comment.