Merge pull request #17780 from XpiritBV/support-azdo-identities
feat(azure): support service principals and managed identities
This commit is contained in:
@@ -58,9 +58,9 @@ export async function codeSearch(
|
||||
|
||||
do {
|
||||
const response = await fetch(searchUrl, {
|
||||
...getAzureRequestOptions(azureConfig, {
|
||||
...(await getAzureRequestOptions(azureConfig, {
|
||||
'Content-Type': 'application/json',
|
||||
}),
|
||||
})),
|
||||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
searchText: `path:${path} repo:${repo || '*'} proj:${project || '*'}`,
|
||||
|
||||
Reference in New Issue
Block a user