修复bug

This commit is contained in:
luolangaga 2024-08-17 19:26:09 +08:00
parent 9e4d4144a6
commit d035d32811

View File

@ -324,7 +324,7 @@ else{
if (this.User.FindAll(ClaimTypes.Role).Any(a => a.Value == "admin"))
{
var ouser = await userManager.FindByIdAsync(userid);
ouser.officium = opname;
await userManager.UpdateAsync(ouser);