From b1b24514291ef6437b89883534492d1094831e16 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 1 Jun 2026 23:24:43 -0400 Subject: [PATCH] Configuracion de prueba --- mvp/Whatsapp-bot/src/app.module.ts | 3 ++- mvp/Whatsapp-bot/src/whatsapp/whatsapp.service.ts | 2 +- mvp/Whatsapp-bot/tsconfig.build.json | 9 ++++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/mvp/Whatsapp-bot/src/app.module.ts b/mvp/Whatsapp-bot/src/app.module.ts index 3e902fa..f373757 100644 --- a/mvp/Whatsapp-bot/src/app.module.ts +++ b/mvp/Whatsapp-bot/src/app.module.ts @@ -1,3 +1,4 @@ +import 'dotenv/config'; import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { ScheduleModule } from '@nestjs/schedule'; @@ -30,4 +31,4 @@ import { Conversacion } from './conversacion/conversacion.entity'; SchedulerModule, ], }) -export class AppModule {} +export class AppModule { } diff --git a/mvp/Whatsapp-bot/src/whatsapp/whatsapp.service.ts b/mvp/Whatsapp-bot/src/whatsapp/whatsapp.service.ts index 8d031d3..2bdd78d 100644 --- a/mvp/Whatsapp-bot/src/whatsapp/whatsapp.service.ts +++ b/mvp/Whatsapp-bot/src/whatsapp/whatsapp.service.ts @@ -32,7 +32,7 @@ export class WhatsappService implements OnModuleInit, OnModuleDestroy { private readonly conversacionService: ConversacionService, private readonly claudeService: ClaudeService, private readonly mediaService: MediaService, - ) {} + ) { } async onModuleInit() { await this.conectar(); diff --git a/mvp/Whatsapp-bot/tsconfig.build.json b/mvp/Whatsapp-bot/tsconfig.build.json index 9aeae51..96226ab 100644 --- a/mvp/Whatsapp-bot/tsconfig.build.json +++ b/mvp/Whatsapp-bot/tsconfig.build.json @@ -2,7 +2,10 @@ "extends": "./tsconfig.json", "compilerOptions": { "declaration": false, - "noEmit": true + "noEmit": false }, - "exclude": ["node_modules", "dist"] -} + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file