Fix caching and loop query on the get current user

This commit is contained in:
2025-10-10 00:57:28 +07:00
parent e4c2f8b7a5
commit e45e140b41
9 changed files with 150 additions and 54 deletions

View File

@@ -64,7 +64,6 @@ public class UserController : BaseController
public async Task<ActionResult<User>> GetCurrentUser()
{
var user = await base.GetUser();
user = await _userService.GetUserByName(user.Name);
return Ok(user);
}