diff --git a/pyvulnerabilitylookup/api.py b/pyvulnerabilitylookup/api.py index 9ded582..2c59088 100644 --- a/pyvulnerabilitylookup/api.py +++ b/pyvulnerabilitylookup/api.py @@ -58,7 +58,7 @@ class PyVulnerabilityLookup(): r = self.session.get(urljoin(self.root_url, 'info')) return r.json() - def get_last(self, number: int | None=None, source: str | None = None) -> dict[str, Any]: + def get_last(self, number: int | None=None, source: str | None = None) -> list[dict[str, Any]]: '''Get the last vulnerabilities :param number: The number of vulnerabilities to get