mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix loader of v1
This commit is contained in:
parent
d25913b529
commit
7d4f152518
|
@ -66,7 +66,7 @@ function endpointCtxExpr(ctx: ICtx, endpoint: string): string {
|
|||
endpointVariables.dtable_uuid = ctx?.base?.dtable_uuid;
|
||||
|
||||
return endpoint.replace(
|
||||
/({{ *(access_token|dtable_uuid|server) *}})/g,
|
||||
/{{ *(access_token|dtable_uuid|server) *}}/g,
|
||||
(match: string, name: TEndpointVariableName) => {
|
||||
return endpointVariables[name] || match;
|
||||
},
|
||||
|
|
|
@ -47,7 +47,7 @@ export class SeaTableV1 implements INodeType {
|
|||
this,
|
||||
{},
|
||||
'GET',
|
||||
'/dtable-server/api/v1/dtables/{{dtable_uuid}}/metadata',
|
||||
'/dtable-server/api/v1/dtables/{{dtable_uuid}}/metadata/',
|
||||
);
|
||||
for (const table of tables) {
|
||||
returnData.push({
|
||||
|
@ -65,7 +65,7 @@ export class SeaTableV1 implements INodeType {
|
|||
this,
|
||||
{},
|
||||
'GET',
|
||||
'/dtable-server/api/v1/dtables/{{dtable_uuid}}/metadata',
|
||||
'/dtable-server/api/v1/dtables/{{dtable_uuid}}/metadata/',
|
||||
);
|
||||
for (const table of tables) {
|
||||
returnData.push({
|
||||
|
|
Loading…
Reference in a new issue