From 92b8973f25063e73b5751da99796f877e1676b02 Mon Sep 17 00:00:00 2001 From: nathan-roys <110457649+nathan-roys@users.noreply.github.com> Date: Wed, 16 Aug 2023 11:33:15 +0100 Subject: [PATCH] Fix/remote repo url (#190) * fix: add remoteRepoUrl from target * fix: don't include in next url --- pyproject.toml | 2 +- snyk/managers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dbb860e..b760428 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pysnyk" -version = "0.9.10" +version = "0.9.11" description = "A Python client for the Snyk API" authors = [ "Gareth Rushgrove ", diff --git a/snyk/managers.py b/snyk/managers.py index 972b880..ce79a53 100644 --- a/snyk/managers.py +++ b/snyk/managers.py @@ -197,7 +197,7 @@ def _query(self, tags: List[Dict[str, str]] = [], next_url: str = None): # Append the issue count param to the params if this is the first page if not next_url: params["meta.latest_issue_counts"] = "true" - params["expand"] = "target" + params["expand"] = "target" # And lastly, make the API call resp = self.client.get(