Skip to content

Commit

Permalink
fix: Use proper call for browsing vendors
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Dec 9, 2024
1 parent b9e4c53 commit 65244e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyvulnerabilitylookup/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def get_vendor_products(self, vendor: str) -> list[str]:
:params vendor: A vendor owning products (must be in the known vendor list)
'''
r = self.session.get(urljoin(self.root_url, str(PurePosixPath('api', 'vulnerability', 'browse', vendor))))
r = self.session.get(urljoin(self.root_url, str(PurePosixPath('api', 'browse', vendor))))
return r.json()

def get_vendor_product_vulnerabilities(self, vendor: str, product: str) -> list[str]:
Expand Down

0 comments on commit 65244e3

Please sign in to comment.