Use bitbucket as location identifier instead of bitbucket/api

This commit is contained in:
Mathias Åhsberg
2021-01-04 15:01:01 +00:00
parent 082f1703f4
commit a35d8dd76f
@@ -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);