Skip to content

Commit

Permalink
Updated Outbox.Restore
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinRyazantsev committed Aug 11, 2020
1 parent e50c055 commit 43bea1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Swisschain.Extensions.Idempotency/Outbox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<object> commands,
IEnumerable<object> events)
{
var instance = new Outbox(unitOfWork, dispatcher, idempotencyId, isClosed, isDispatched)
var instance = new Outbox(unitOfWork, dispatcher, idempotencyId, isClosed: true, isDispatched)
{
Response = response
};
Expand Down

0 comments on commit 43bea1a

Please sign in to comment.