From 43bea1a70fe3a6d0deeecdcb09a1712cd7754767 Mon Sep 17 00:00:00 2001 From: KonstantinRyazantsev Date: Wed, 12 Aug 2020 00:17:37 +0300 Subject: [PATCH] Updated Outbox.Restore --- src/Swisschain.Extensions.Idempotency/Outbox.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 };