This commit is contained in:
@@ -6,11 +6,12 @@ import { AiService } from './providers/ai.service';
|
||||
import { AiChatRepository } from './repositories/ai-chat.repository';
|
||||
import { AiChat } from './entities/ai-chat.entity';
|
||||
import { RestaurantsModule } from '../restaurants/restaurants.module';
|
||||
import { AiCrone } from './crone/ai.crone';
|
||||
|
||||
@Module({
|
||||
imports: [MikroOrmModule.forFeature([AiChat]), JwtModule, RestaurantsModule],
|
||||
controllers: [AiController],
|
||||
providers: [AiService, AiChatRepository],
|
||||
providers: [AiService, AiChatRepository, AiCrone],
|
||||
exports: [AiChatRepository],
|
||||
})
|
||||
export class AiModule {}
|
||||
|
||||
Reference in New Issue
Block a user