fix: fix getting credentials for Bitbucket Server in the RepoUrlPicker

Signed-off-by: Katharina Sick <katharina.sick@dynatrace.com>
This commit is contained in:
Katharina Sick
2023-02-22 15:36:35 +01:00
parent f5a078b9f9
commit be3cddaab5
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',