mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08: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:
parent
e056aa9c4d
commit
f11aa06d27
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue