From d69cc6074488a532f7b1aae38dccb059a10bc27f Mon Sep 17 00:00:00 2001 From: Wuesteon Date: Thu, 4 Dec 2025 19:08:37 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(auth):=20remove=20type-only?= =?UTF-8?q?=20import=20of=20ConfigService=20in=20AiService?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `type` keyword on ConfigService import was causing NestJS to fail resolving the dependency at runtime, as type-only imports are erased during compilation. Changed to regular import to fix DI. Error was: "Nest can't resolve dependencies of the AiService (?)" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- services/mana-core-auth/src/ai/ai.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/mana-core-auth/src/ai/ai.service.ts b/services/mana-core-auth/src/ai/ai.service.ts index 50ce8c87e..22b4405c4 100644 --- a/services/mana-core-auth/src/ai/ai.service.ts +++ b/services/mana-core-auth/src/ai/ai.service.ts @@ -1,5 +1,5 @@ import { Injectable, Logger } from '@nestjs/common'; -import { type ConfigService } from '@nestjs/config'; +import { ConfigService } from '@nestjs/config'; import { GoogleGenerativeAI } from '@google/generative-ai'; export interface FeedbackAnalysis {