mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
👕 Fix lint issue
This commit is contained in:
parent
4df7275615
commit
ec5bfaf895
|
@ -36,7 +36,7 @@ export async function gristApiRequest(
|
||||||
|
|
||||||
const gristapiurl = (planType === 'free') ? `https://docs.getgrist.com/api${endpoint}` :
|
const gristapiurl = (planType === 'free') ? `https://docs.getgrist.com/api${endpoint}` :
|
||||||
(planType === 'paid') ? `https://${customSubdomain}.getgrist.com/api${endpoint}` :
|
(planType === 'paid') ? `https://${customSubdomain}.getgrist.com/api${endpoint}` :
|
||||||
`${selfHostedUrl}/api${endpoint}`;
|
`${selfHostedUrl}/api${endpoint}`;
|
||||||
|
|
||||||
const options: OptionsWithUri = {
|
const options: OptionsWithUri = {
|
||||||
headers: {
|
headers: {
|
||||||
|
@ -109,4 +109,3 @@ export function throwOnZeroDefinedFields(this: IExecuteFunctions, fields: GristD
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -92,7 +92,7 @@ export class Grist implements INodeType {
|
||||||
|
|
||||||
const gristapiurl = (planType === 'free') ? `https://docs.getgrist.com/api${endpoint}` :
|
const gristapiurl = (planType === 'free') ? `https://docs.getgrist.com/api${endpoint}` :
|
||||||
(planType === 'paid') ? `https://${customSubdomain}.getgrist.com/api${endpoint}` :
|
(planType === 'paid') ? `https://${customSubdomain}.getgrist.com/api${endpoint}` :
|
||||||
`${selfHostedUrl}/api${endpoint}`;
|
`${selfHostedUrl}/api${endpoint}`;
|
||||||
|
|
||||||
const options: OptionsWithUri = {
|
const options: OptionsWithUri = {
|
||||||
headers: {
|
headers: {
|
||||||
|
|
Loading…
Reference in a new issue