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:
Andre Wanlin
2021-08-31 13:19:46 -05:00
committed by Andre Wanlin
parent 5dca42b174
commit 00bc49f8fe
+1 -1
View File
@@ -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}`;
}