mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 21:57:22 +01:00
fix include
This commit is contained in:
parent
cc304d5f54
commit
ef1aea2f29
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ public static class SharedDbFunctions
|
|||
{
|
||||
_logger.LogInformation("Purging user: {uid}", user.UID);
|
||||
|
||||
var secondaryUsers = await dbContext.Auth.Include(u => u.PrimaryUser)
|
||||
var secondaryUsers = await dbContext.Auth.Include(u => u.User)
|
||||
.Where(u => u.PrimaryUserUID == user.UID).Select(c => c.User).ToListAsync().ConfigureAwait(false);
|
||||
|
||||
foreach (var secondaryUser in secondaryUsers)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue