From 8c9e72489b6c79cee5b8a486ffc829af19a90f43 Mon Sep 17 00:00:00 2001 From: CWX Date: Sat, 11 Jan 2025 23:38:57 +0000 Subject: [PATCH] Fix injectable Types for SaveLoadRouters --- Core/Routers/SaveLoad/HealthSaveLoadRouter.cs | 2 +- Core/Routers/SaveLoad/InraidSaveLoadRouter.cs | 2 +- Core/Routers/SaveLoad/InsuranceSaveLoadRouter.cs | 2 +- Core/Routers/SaveLoad/ProfileSaveLoadRouter.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Core/Routers/SaveLoad/HealthSaveLoadRouter.cs b/Core/Routers/SaveLoad/HealthSaveLoadRouter.cs index 843fe0ae..4ef2852d 100644 --- a/Core/Routers/SaveLoad/HealthSaveLoadRouter.cs +++ b/Core/Routers/SaveLoad/HealthSaveLoadRouter.cs @@ -4,7 +4,7 @@ using Core.Models.Eft.Profile; namespace Core.Routers.SaveLoad; -[Injectable] +[Injectable(InjectableTypeOverride = typeof(SaveLoadRouter))] public class HealthSaveLoadRouter : SaveLoadRouter { protected override List GetHandledRoutes() diff --git a/Core/Routers/SaveLoad/InraidSaveLoadRouter.cs b/Core/Routers/SaveLoad/InraidSaveLoadRouter.cs index b288e1f8..bae4b0bf 100644 --- a/Core/Routers/SaveLoad/InraidSaveLoadRouter.cs +++ b/Core/Routers/SaveLoad/InraidSaveLoadRouter.cs @@ -4,7 +4,7 @@ using Core.Models.Eft.Profile; namespace Core.Routers.SaveLoad; -[Injectable] +[Injectable(InjectableTypeOverride = typeof(SaveLoadRouter))] public class InraidSaveLoadRouter : SaveLoadRouter { protected override List GetHandledRoutes() diff --git a/Core/Routers/SaveLoad/InsuranceSaveLoadRouter.cs b/Core/Routers/SaveLoad/InsuranceSaveLoadRouter.cs index 4b871c9c..08f122de 100644 --- a/Core/Routers/SaveLoad/InsuranceSaveLoadRouter.cs +++ b/Core/Routers/SaveLoad/InsuranceSaveLoadRouter.cs @@ -4,7 +4,7 @@ using Core.Models.Eft.Profile; namespace Core.Routers.SaveLoad; -[Injectable] +[Injectable(InjectableTypeOverride = typeof(SaveLoadRouter))] public class InsuranceSaveLoadRouter : SaveLoadRouter { protected override List GetHandledRoutes() diff --git a/Core/Routers/SaveLoad/ProfileSaveLoadRouter.cs b/Core/Routers/SaveLoad/ProfileSaveLoadRouter.cs index 66458599..f8615124 100644 --- a/Core/Routers/SaveLoad/ProfileSaveLoadRouter.cs +++ b/Core/Routers/SaveLoad/ProfileSaveLoadRouter.cs @@ -4,7 +4,7 @@ using Core.Models.Eft.Profile; namespace Core.Routers.SaveLoad; -[Injectable] +[Injectable(InjectableTypeOverride = typeof(SaveLoadRouter))] public class ProfileSaveLoadRouter : SaveLoadRouter { protected override List GetHandledRoutes()