🐛 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

@@ -564,8 +564,9 @@ public class PublisherController(
.Skip(offset)
.Take(take)
.ToListAsync();
members = await ps.LoadMemberAccounts(members);
return Ok(await ps.LoadMemberAccounts(members));
return Ok(members.Select(m => m.Account is not null).ToList());
}
[HttpGet("{name}/members/me")]