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);