mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user