mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(core): Revert rule @typescript-eslint/prefer-nullish-coalescing
This commit is contained in:
@@ -65,7 +65,7 @@ function endpointCtxExpr(ctx: ICtx, endpoint: string): string {
|
||||
return endpoint.replace(
|
||||
/({{ *(access_token|dtable_uuid|server) *}})/g,
|
||||
(match: string, expr: string, name: TEndpointVariableName) => {
|
||||
return endpointVariables[name] ?? match;
|
||||
return endpointVariables[name] || match;
|
||||
},
|
||||
);
|
||||
}
|
||||
@@ -94,7 +94,7 @@ export async function seaTableApiRequest(
|
||||
method,
|
||||
qs,
|
||||
body,
|
||||
uri: url ?? `${resolveBaseUri(ctx)}${endpointCtxExpr(ctx, endpoint)}`,
|
||||
uri: url || `${resolveBaseUri(ctx)}${endpointCtxExpr(ctx, endpoint)}`,
|
||||
json: true,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user