From b7775cbe6ce9526c2c06ce1e65f2ece41006c32e Mon Sep 17 00:00:00 2001 From: xRain Date: Sun, 26 Apr 2026 11:33:39 +0800 Subject: [PATCH] fix logout bug --- Controllers/SimApiAuthController.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Controllers/SimApiAuthController.cs b/Controllers/SimApiAuthController.cs index 2eaa028..843f150 100644 --- a/Controllers/SimApiAuthController.cs +++ b/Controllers/SimApiAuthController.cs @@ -30,7 +30,6 @@ public class SimApiAuthController(SimApiAuth auth) : SimApiBaseController [HttpPost, SimApiDoc("认证", "退出登陆")] public SimApiBaseResponse Logout() { - ErrorWhenNull(null); string? token = null; if (Request.Headers.TryGetValue("Token", out var value))