Skip to content

Commit

Permalink
Added user agent in Dataverse calls
Browse files Browse the repository at this point in the history
  • Loading branch information
BidishaMS committed Apr 19, 2024
1 parent 0f59a97 commit 8917d82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/copilot/dataverseMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export async function getEntityColumns(entityName: string, orgUrl: string, apiTo
headers: {
'Content-Type': "application/json",
Authorization: `Bearer ${apiToken}`,
"x-ms-user-agent": "Vscode-Desktop"
},
};

Expand Down Expand Up @@ -57,6 +58,7 @@ export async function getFormXml(entityName: string, formName: string, orgUrl:
headers: {
'Content-Type': "application/json",
Authorization: `Bearer ${apiToken}`,
"x-ms-user-agent": "Vscode-Desktop"
},
};

Expand Down

0 comments on commit 8917d82

Please sign in to comment.