From d035d32811dbd0fb3205e274b4dfa422635b991b Mon Sep 17 00:00:00 2001 From: luolangaga <2667210109@qq.com> Date: Sat, 17 Aug 2024 19:26:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- asg_form/Controllers/admin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asg_form/Controllers/admin.cs b/asg_form/Controllers/admin.cs index b0d3372..3a14879 100644 --- a/asg_form/Controllers/admin.cs +++ b/asg_form/Controllers/admin.cs @@ -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);