Merge pull request #16539 from KatharinaSick/fix/repourlpicker-workspace

fix: fix getting credentials for Bitbucket Server in the RepoUrlPicker
This commit is contained in:
Fredrik Adelöw
2023-02-28 10:53:45 +01:00
committed by GitHub
4 changed files with 76 additions and 6 deletions
@@ -216,7 +216,7 @@ export class BitbucketServerAuthProvider implements OAuthHandlers {
throw new Error(`Failed to retrieve the user '${username}'`);
}
const user = (await userResponse.json()) as any;
const user = await userResponse.json();
const passportProfile = {
provider: 'bitbucketServer',