mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-25 07:32:09 +00:00
Update CS models, deps
This commit is contained in:
@@ -43,7 +43,7 @@ public class ChannelStatusController(ILogger<ChannelStatusController> logger, Sp
|
||||
// idk, i cant come up with more stuff, maybe suggestions welcome, or actually storing some data?
|
||||
];
|
||||
|
||||
foreach (var guildId in req.GuildIds ?? [req.GuildId!]) {
|
||||
foreach (var guildId in req.GuildIds ?? [req.GuildId!.Value]) {
|
||||
var channels = (await db.Channels.Include(x => x.VoiceStates).Where(x => x.Type == 2 && x.GuildId == guildId && x.VoiceStates.Count > 0)
|
||||
.Select(x => x.Id)
|
||||
.ToListAsync())
|
||||
|
||||
Reference in New Issue
Block a user