🐛 fix(auth): remove type-only import of ConfigService in AiService

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 <noreply@anthropic.com>
This commit is contained in:
Wuesteon 2025-12-04 19:08:37 +01:00
parent 040d044496
commit d69cc60744

View file

@ -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 {