Skip to content

Commit 12e9d63

Browse files
committed
Fix Gitea backend not authenticating properly with Gitea
Signed-off-by: magic_rb <richard@brezak.sk>
1 parent 85ae072 commit 12e9d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildbot_nix/gitea_projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def refresh_projects(config: GiteaConfig, repo_cache_file: Path) -> None:
289289
# Gitea doesn't include topics in the default repo listing, unlike GitHub
290290
topics: list[str] = http_request(
291291
f"{config.instance_url}/api/v1/repos/{repo['owner']['login']}/{repo['name']}/topics",
292-
headers={"Authorization": f"token {config.token}"},
292+
headers={"Authorization": f"token {config.token()}"},
293293
).json()["topics"]
294294
repo["topics"] = topics
295295
repos.append(repo)

0 commit comments

Comments
 (0)