From 1ad81c5b43f70e36b16b4f07ba240873711fe72c Mon Sep 17 00:00:00 2001 From: Thorsten Zoerner Date: Thu, 25 Jan 2024 01:34:29 +0100 Subject: [PATCH] Fix: Removed typo in meritorder preventing updates of existing MOL --- framework/services/meritorder.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/services/meritorder.service.js b/framework/services/meritorder.service.js index 61a25f7..d402c7e 100644 --- a/framework/services/meritorder.service.js +++ b/framework/services/meritorder.service.js @@ -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]); } },