diff --git a/Learn.VideoAnalysis.API/Expand/CoravelExpand.cs b/Learn.VideoAnalysis.API/Expand/CoravelExpand.cs index cd419f2..4f5f1c2 100644 --- a/Learn.VideoAnalysis.API/Expand/CoravelExpand.cs +++ b/Learn.VideoAnalysis.API/Expand/CoravelExpand.cs @@ -20,6 +20,7 @@ namespace Learn.VideoAnalysis.API.Expand service.AddScheduler(); service.AddTransient(); service.AddTransient(); + } public static void UseCoravelExpand(this IApplicationBuilder provider) { diff --git a/VideoAnalysisCore/Controllers/ApiController.cs b/VideoAnalysisCore/Controllers/ApiController.cs index 4af8798..c9be825 100644 --- a/VideoAnalysisCore/Controllers/ApiController.cs +++ b/VideoAnalysisCore/Controllers/ApiController.cs @@ -25,13 +25,11 @@ namespace VideoAnalysisCore.Controllers private readonly IMapper mp; private readonly Repository videoTaskDB; private readonly Repository videoKonwDB; - private readonly IBserGPT chatGPT; public ApiController(Repository videoTaskDB, - IMapper mp, IBserGPT chatGPT, Repository videoKonwDB) + IMapper mp, Repository videoKonwDB) { this.videoTaskDB = videoTaskDB; this.mp = mp; - this.chatGPT = chatGPT; this.videoKonwDB = videoKonwDB; }