diff --git a/src/Swisschain.Extensions.Idempotency/Outbox.cs b/src/Swisschain.Extensions.Idempotency/Outbox.cs index 55dc8df..c2aef1c 100644 --- a/src/Swisschain.Extensions.Idempotency/Outbox.cs +++ b/src/Swisschain.Extensions.Idempotency/Outbox.cs @@ -144,13 +144,12 @@ public static Outbox Open(IUnitOfWork unitOfWork, public static Outbox Restore(IUnitOfWork unitOfWork, IOutboxDispatcher dispatcher, string idempotencyId, - bool isClosed, bool isDispatched, object response, IEnumerable commands, IEnumerable events) { - var instance = new Outbox(unitOfWork, dispatcher, idempotencyId, isClosed, isDispatched) + var instance = new Outbox(unitOfWork, dispatcher, idempotencyId, isClosed: true, isDispatched) { Response = response };