new folder structure

This commit is contained in:
MrMatiz2 2025-07-22 08:19:06 -05:00
commit 5831230d13
14 changed files with 262 additions and 96 deletions

View file

@ -45,8 +45,8 @@ export class S4DSMain implements INodeType {
const resource = this.getNodeParameter('resource', i) as string;
const operation = this.getNodeParameter('operation', i) as string;
// Obtener definición de la API
const apiDefinition = ApiHelper.getApiDefinition(resource, operation);
// Get API definition (now async)
const apiDefinition = await ApiHelper.getApiDefinition(resource, operation);
if (!apiDefinition) {
throw new Error(`API definition not found for resource: ${resource}, operation: ${operation}`);
}