Skip to content

Commit

Permalink
Merge pull request #67 from r-koubou/fix/delete_flush_call
Browse files Browse the repository at this point in the history
1件以上削除がされた場合のみFlushを実行するようにした
  • Loading branch information
r-koubou authored Nov 28, 2023
2 parents 26d031a + bc9bbda commit 552fa03
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ public DeleteInteractor(
);
}

await Repository.FlushAsync( cancellationToken );
if( removedCount > 0 )
{
await Repository.FlushAsync( cancellationToken );
}

var outputData = new DeleteOutputData(
true,
Expand Down

0 comments on commit 552fa03

Please sign in to comment.