From aa0d2ab3c41468e12c4ea26e3a11086d9ea585bd Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 22 May 2025 01:59:45 +0800 Subject: [PATCH] :bug: Fix ensure profile created maintenance method --- DysonNetwork.Sphere/Account/AccountService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/DysonNetwork.Sphere/Account/AccountService.cs b/DysonNetwork.Sphere/Account/AccountService.cs index eddd66b..437a9f5 100644 --- a/DysonNetwork.Sphere/Account/AccountService.cs +++ b/DysonNetwork.Sphere/Account/AccountService.cs @@ -55,6 +55,7 @@ public class AccountService( { var accountsId = await db.Accounts.Select(a => a.Id).ToListAsync(); var missingId = await db.AccountProfiles + .IgnoreAutoIncludes() .Where(p => !accountsId.Contains(p.AccountId)) .Select(p => p.AccountId) .ToListAsync();