From 2c77ad0798d4ef30e4a27e74d2001862af7eba8b Mon Sep 17 00:00:00 2001 From: AnonymousDotNet <18776095145@163.com> Date: Sun, 29 Sep 2024 13:14:52 +0800 Subject: [PATCH] remove Unauthorized --- .../BotSharp.OpenAPI/Controllers/UserController.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Infrastructure/BotSharp.OpenAPI/Controllers/UserController.cs b/src/Infrastructure/BotSharp.OpenAPI/Controllers/UserController.cs index a9d67c5d..eb6458a2 100644 --- a/src/Infrastructure/BotSharp.OpenAPI/Controllers/UserController.cs +++ b/src/Infrastructure/BotSharp.OpenAPI/Controllers/UserController.cs @@ -68,7 +68,6 @@ public class UserController : ControllerBase var token = await _userService.ActiveUser(model); if (token == null) { - //return Unauthorized(); return BadRequest(); } return Ok(token);