Skip to content

Commit

Permalink
refactor: use the in scope declaration of reindex op
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Mar 6, 2020
1 parent 53fedc6 commit 64b8e92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ export const reindexServiceFactory = (

return actions.updateReindexOp(op, {
status: ReindexStatus.inProgress,
reindexOptions: opts ?? reindexOp.attributes.reindexOptions,
reindexOptions: opts ?? op.attributes.reindexOptions,
});
});
},
Expand Down

0 comments on commit 64b8e92

Please sign in to comment.