Update packages/integration/src/azure/core.ts
Updated with suggested change Co-authored-by: Fredrik Adelöw <freben@gmail.com> Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
This commit is contained in:
committed by
Andre Wanlin
parent
5dca42b174
commit
00bc49f8fe
@@ -100,7 +100,7 @@ export function getAzureDownloadUrl(url: string): string {
|
||||
? `&scopePath=${encodeURIComponent(filepath)}`
|
||||
: '';
|
||||
|
||||
if (url.includes('dev.azure.com')) {
|
||||
if (resource === 'dev.azure.com') {
|
||||
return `${protocol}://${resource}/${organization}/${project}/_apis/git/repositories/${repoName}/items?recursionLevel=full&download=true&api-version=6.0${scopePath}`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user