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:
Eric Koleda 2024-01-09 11:02:04 -05:00 committed by GitHub
parent e056aa9c4d
commit f11aa06d27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,