From a35d8dd76fd764b67db9d5903e49354c45415929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20A=CC=8Ahsberg?= Date: Mon, 4 Jan 2021 15:01:01 +0000 Subject: [PATCH] Use bitbucket as location identifier instead of bitbucket/api --- plugins/scaffolder-backend/src/scaffolder/stages/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/scaffolder-backend/src/scaffolder/stages/helpers.ts b/plugins/scaffolder-backend/src/scaffolder/stages/helpers.ts index 40aa0ab7b1..21b63609e8 100644 --- a/plugins/scaffolder-backend/src/scaffolder/stages/helpers.ts +++ b/plugins/scaffolder-backend/src/scaffolder/stages/helpers.ts @@ -86,7 +86,7 @@ export function makeDeprecatedLocationTypeDetector( hostMap.set(sub.getString('host'), 'azure/api'); }); config.getOptionalConfigArray('integrations.bitbucket')?.forEach(sub => { - hostMap.set(sub.getString('host'), 'bitbucket/api'); + hostMap.set(sub.getString('host'), 'bitbucket'); }); return (url: string): string | undefined => { const parsed = new URL(url);