diff --git a/osc/_private/api_build.py b/osc/_private/api_build.py index 6651d7da..8704a639 100644 --- a/osc/_private/api_build.py +++ b/osc/_private/api_build.py @@ -34,7 +34,7 @@ class BuildHistory: ] url_query = {} if self._limit and self._limit > 0: - query["limit"] = self._limit + url_query["limit"] = self._limit root = api.get(self.apiurl, url_path, url_query)