From c477a14d1a230874aae1c8cf572706e382f979f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 12 Nov 2023 06:47:13 +0100 Subject: [PATCH] fix github avatar authentication --- buildbot_nix/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot_nix/__init__.py b/buildbot_nix/__init__.py index 2293d64..234373f 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -816,7 +816,7 @@ class NixConfigurator(ConfiguratorBase): if not config["www"].get("auth"): config["www"]["avatar_methods"] = config["www"].get("avatar_methods", []) config["www"]["avatar_methods"].append( - util.AvatarGitHub(self.github.token()) + util.AvatarGitHub(token=self.github.token()) ) config["www"]["auth"] = util.GitHubAuth( self.github.oauth_id, read_secret_file(self.github.oauth_secret_name)