diff --git a/src/Squidex.Infrastructure/Commands/DomainObjectBase.cs b/src/Squidex.Infrastructure/Commands/DomainObjectBase.cs index 7327a058d..fd7e62c36 100644 --- a/src/Squidex.Infrastructure/Commands/DomainObjectBase.cs +++ b/src/Squidex.Infrastructure/Commands/DomainObjectBase.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Threading.Tasks; using Squidex.Infrastructure.EventSourcing; using Squidex.Infrastructure.States; @@ -79,11 +78,6 @@ namespace Squidex.Infrastructure.Commands public Task WriteSnapshotAsync() { - if (persistence.Version == EtagVersion.NotFound) - { - Debugger.Break(); - } - snapshot.Version = persistence.Version; return persistence.WriteSnapshotAsync(snapshot);