From 6e419ccee579c71c9fc2936457e5c14ff5718be8 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Tue, 13 Dec 2022 14:17:38 +0100 Subject: [PATCH] switch credential order --- dev/archery/archery/crossbow/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/archery/archery/crossbow/core.py b/dev/archery/archery/crossbow/core.py index d5ce6143136..24f68b4c4a6 100644 --- a/dev/archery/archery/crossbow/core.py +++ b/dev/archery/archery/crossbow/core.py @@ -200,7 +200,7 @@ def credentials(self, url, username_from_url, allowed_types): if (allowed_types & pygit2.credentials.GIT_CREDENTIAL_USERPASS_PLAINTEXT): - return pygit2.UserPass(self.token, 'x-oauth-basic') + return pygit2.UserPass('x-oauth-basic', self.token) else: return None