👕 Fix lint issue

This commit is contained in:
Jan Oberhauser 2022-02-19 14:51:20 +01:00
parent 4df7275615
commit ec5bfaf895
2 changed files with 2 additions and 3 deletions

View file

@ -36,7 +36,7 @@ export async function gristApiRequest(
const gristapiurl = (planType === 'free') ? `https://docs.getgrist.com/api${endpoint}` :
(planType === 'paid') ? `https://${customSubdomain}.getgrist.com/api${endpoint}` :
`${selfHostedUrl}/api${endpoint}`;
`${selfHostedUrl}/api${endpoint}`;
const options: OptionsWithUri = {
headers: {
@ -109,4 +109,3 @@ export function throwOnZeroDefinedFields(this: IExecuteFunctions, fields: GristD
);
}
}

View file

@ -92,7 +92,7 @@ export class Grist implements INodeType {
const gristapiurl = (planType === 'free') ? `https://docs.getgrist.com/api${endpoint}` :
(planType === 'paid') ? `https://${customSubdomain}.getgrist.com/api${endpoint}` :
`${selfHostedUrl}/api${endpoint}`;
`${selfHostedUrl}/api${endpoint}`;
const options: OptionsWithUri = {
headers: {