|
|
|
@ -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); |
|
|
|
|