Skip to content

Commit

Permalink
feat(Coda Node): Add User-Agent for requests to Coda (no-changelog) (#…
Browse files Browse the repository at this point in the history
…7771)

Co-authored-by: Jonathan Bennetts <[email protected]>
  • Loading branch information
ekoleda-codaio and Joffcom authored Jan 9, 2024
1 parent e056aa9 commit f11aa06
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/nodes-base/nodes/Coda/GenericFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ export async function codaApiRequest(
const credentials = await this.getCredentials('codaApi');

let options: OptionsWithUri = {
headers: { Authorization: `Bearer ${credentials.accessToken}` },
headers: {
Authorization: `Bearer ${credentials.accessToken}`,
'User-Agent': 'n8n',
},
method,
qs,
body,
Expand Down

0 comments on commit f11aa06

Please sign in to comment.