diff --git a/DysonNetwork.Sphere/Publisher/PublisherController.cs b/DysonNetwork.Sphere/Publisher/PublisherController.cs index 55f4650..78cbca6 100644 --- a/DysonNetwork.Sphere/Publisher/PublisherController.cs +++ b/DysonNetwork.Sphere/Publisher/PublisherController.cs @@ -566,7 +566,7 @@ public class PublisherController( .ToListAsync(); members = await ps.LoadMemberAccounts(members); - return Ok(members.Select(m => m.Account is not null).ToList()); + return Ok(members.Where(m => m.Account is not null).ToList()); } [HttpGet("{name}/members/me")] diff --git a/DysonNetwork.Sphere/Realm/RealmController.cs b/DysonNetwork.Sphere/Realm/RealmController.cs index 266d739..79ef11a 100644 --- a/DysonNetwork.Sphere/Realm/RealmController.cs +++ b/DysonNetwork.Sphere/Realm/RealmController.cs @@ -271,7 +271,7 @@ public class RealmController( .ToListAsync(); members = await rs.LoadMemberAccounts(members); - return Ok(members.Select(m => m.Account is not null).ToList()); + return Ok(members.Where(m => m.Account is not null).ToList()); // } }