Skip to content

Commit

Permalink
Fix: Removed typo in meritorder preventing updates of existing MOL
Browse files Browse the repository at this point in the history
  • Loading branch information
zoernert committed Jan 25, 2024
1 parent c60a444 commit 1ad81c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/services/meritorder.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports = {
await ctx.call("meritorder_model.insert",{entity:{assetId:ctx.params.assetId,mol:ctx.params.mol,updated:new Date().getTime()}});
} else {
mol[0].mol = ctx.params.mol;
nol[0].updated = new Date().getTime();
mol[0].updated = new Date().getTime();
await ctx.call("meritorder_model.update",mol[0]);
}
},
Expand Down

0 comments on commit 1ad81c5

Please sign in to comment.