mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(Coda Node): Add User-Agent for requests to Coda (no-changelog) (#7771)
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
This commit is contained in:
@@ -20,7 +20,10 @@ export async function codaApiRequest(
|
|||||||
const credentials = await this.getCredentials('codaApi');
|
const credentials = await this.getCredentials('codaApi');
|
||||||
|
|
||||||
let options: OptionsWithUri = {
|
let options: OptionsWithUri = {
|
||||||
headers: { Authorization: `Bearer ${credentials.accessToken}` },
|
headers: {
|
||||||
|
Authorization: `Bearer ${credentials.accessToken}`,
|
||||||
|
'User-Agent': 'n8n',
|
||||||
|
},
|
||||||
method,
|
method,
|
||||||
qs,
|
qs,
|
||||||
body,
|
body,
|
||||||
|
|||||||
Reference in New Issue
Block a user