fix loader of v1

This commit is contained in:
Christoph Dyllick-Brenzinger 2024-07-17 15:34:02 +02:00
parent d25913b529
commit 7d4f152518
2 changed files with 3 additions and 3 deletions

View file

@ -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;
},

View file

@ -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({