Skip to content

Commit

Permalink
Fix: Missing id parameter handling in case mongodb is used to persist…
Browse files Browse the repository at this point in the history
… (stateful operation)
  • Loading branch information
zoernert committed Jan 25, 2024
1 parent 1ad81c5 commit 3ccb85a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/services/meritorder.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ module.exports = {
} else {
mol[0].mol = ctx.params.mol;
mol[0].updated = new Date().getTime();
mol[0].id = mol[0]._id;
await ctx.call("meritorder_model.update",mol[0]);
}
},
Expand Down

0 comments on commit 3ccb85a

Please sign in to comment.