🐛 Ensure the member has account in response

This commit is contained in:
2025-08-05 21:33:03 +08:00
parent d231b5f27e
commit a793a03a20
3 changed files with 6 additions and 3 deletions

View File

@@ -269,8 +269,9 @@ public class RealmController(
.Skip(offset)
.Take(take)
.ToListAsync();
members = await rs.LoadMemberAccounts(members);
return Ok(await rs.LoadMemberAccounts(members));
return Ok(members.Select(m => m.Account is not null).ToList());
// }
}