Skip to content

Commit

Permalink
Fix designated channels fetching not ignoring deleted records
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickklaeren authored Nov 16, 2024
1 parent fcb4b8c commit 021d31d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Modix.Services/DesignatedChannelService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public async Task<IReadOnlyCollection<ulong>> GetDesignatedChannelIds(ulong guil
.Set<DesignatedChannelMappingEntity>()
.Where(x => x.GuildId == guildId)
.Where(x => x.Type == type)
.Where(x => x.DeleteActionId == null)
.Select(x => x.ChannelId)
.ToListAsync();
}
Expand Down

0 comments on commit 021d31d

Please sign in to comment.