diff --git a/flatpak_builder_lint/checks/flatmanager.py b/flatpak_builder_lint/checks/flatmanager.py index 5d7edfae..99ae1701 100644 --- a/flatpak_builder_lint/checks/flatmanager.py +++ b/flatpak_builder_lint/checks/flatmanager.py @@ -46,7 +46,7 @@ def check_repo(self, path: str) -> None: f"Failed to fetch build info from flat-manager: {r.status_code}" ) - build_info = r.json() + build_info = r.json()["build"] token_type = build_info.get("token_type") target_repo = build_info.get("target_repo") diff --git a/pyproject.toml b/pyproject.toml index 1820474b..ab24b691 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "flatpak_builder_lint" -version = "2.0.10" +version = "2.0.11" description = "A linter for flatpak-builder manifests" authors = ["Bartłomiej Piotrowski "] license = "MIT"