From 8c6fd742db249ad4cc819cf041eb98d880a3ef73 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期四, 02 一月 2025 15:09:07 +0800
Subject: [PATCH] 1

---
 WIDESEAWCS_Server/WIDESEAWCS_Core/App.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Core/App.cs b/WIDESEAWCS_Server/WIDESEAWCS_Core/App.cs
index 5d53caa..3c87168 100644
--- a/WIDESEAWCS_Server/WIDESEAWCS_Core/App.cs
+++ b/WIDESEAWCS_Server/WIDESEAWCS_Core/App.cs
@@ -119,7 +119,7 @@
         /// <param name="serviceProvider"></param>
         /// <param name="mustBuild"></param>
         /// <returns></returns>
-        public static object GetService(Type type, IServiceProvider? serviceProvider = null, bool mustBuild = true)
+        public static object? GetService(Type type, IServiceProvider? serviceProvider = null, bool mustBuild = true)
         {
             object? obj = (serviceProvider ?? GetServiceProvider(type, mustBuild, false))?.GetService(type);
             return obj;

--
Gitblit v1.9.3