Восстановление очистки админки

This commit is contained in:
Халимов Рустам
2026-03-31 21:31:22 +03:00
parent aa69c44a64
commit bce8f92101
3 changed files with 20 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ public sealed class ChatsDbContext : DbContext, Knot.Modules.Conversations.Appli
public DbSet<UserChatSettings> UserChatSettings => Set<UserChatSettings>();
IQueryable<Knot.Contracts.Conversations.Infrastructure.Persistence.Chat> Knot.Contracts.Conversations.Infrastructure.Persistence.IChatsDbContext.Chats =>
Set<DomainChat>().Select(c => new Knot.Contracts.Conversations.Infrastructure.Persistence.Chat { Avatar = c.Avatar });
Set<DomainChat>().Select(c => new Knot.Contracts.Conversations.Infrastructure.Persistence.Chat { Id = c.Id, Avatar = c.Avatar });
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{