[backend/api] Recursively reload user after refetching
This commit is contained in:
parent
72a6d83351
commit
9ac80f3945
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ public class UserController(
|
|||
|
||||
await userSvc.UpdateUserAsync(user, force: true);
|
||||
|
||||
db.ChangeTracker.Clear();
|
||||
await db.ReloadEntityRecursivelyAsync(user);
|
||||
|
||||
user = await db.Users.IncludeCommonProperties()
|
||||
.FirstOrDefaultAsync(p => p.Id == id && p.Host != null && p.Uri != null)
|
||||
|
|
Loading…
Add table
Reference in a new issue