diff --git a/backend/src/Squidex.Domain.Apps.Entities/Comments/WatchingService.cs b/backend/src/Squidex.Domain.Apps.Entities/Comments/WatchingService.cs index f7aa2f146..4ed8372db 100644 --- a/backend/src/Squidex.Domain.Apps.Entities/Comments/WatchingService.cs +++ b/backend/src/Squidex.Domain.Apps.Entities/Comments/WatchingService.cs @@ -20,7 +20,7 @@ public sealed class WatchingService : IWatchingService { private static readonly Duration Timeout = Duration.FromMinutes(1); - public Dictionary Users { get; } = new Dictionary(); + public Dictionary Users { get; set; } = new Dictionary(); public (bool, string[]) Add(string watcherId, IClock clock) { diff --git a/backend/src/Squidex/Areas/Api/Controllers/Comments/CommentsController.cs b/backend/src/Squidex/Areas/Api/Controllers/Comments/CommentsController.cs index 8fbada1be..4e3be2eff 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Comments/CommentsController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Comments/CommentsController.cs @@ -32,7 +32,6 @@ public sealed class CommentsController : ApiController : base(commandBus) { this.commentsLoader = commentsLoader; - this.watchingService = watchingService; }