Skip to content

Commit

Permalink
flatmanager: Access the right key to get the build info
Browse files Browse the repository at this point in the history
  • Loading branch information
barthalion committed Nov 3, 2023
1 parent 87c440b commit 966859c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flatpak_builder_lint/checks/flatmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 966859c

Please sign in to comment.