feat(azure): support service principals and managed identities
Signed-off-by: Sander Aernouts <sander.aernouts@gmail.com>
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