mirror of
				https://github.com/n8n-io/n8n-nodes-starter.git
				synced 2025-10-30 23:02:25 -05:00 
			
		
		
		
	new folder structure
This commit is contained in:
		
					parent
					
						
							
								1b79d21dbd
							
						
					
				
			
			
				commit
				
					
						5831230d13
					
				
			
		
					 14 changed files with 262 additions and 96 deletions
				
			
		|  | @ -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}`); | ||||
| 				} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue