diff --git a/src/services/abstractproduct.js b/src/services/abstractproduct.js index e32071c..4f3c22b 100644 --- a/src/services/abstractproduct.js +++ b/src/services/abstractproduct.js @@ -26,10 +26,10 @@ class AbstractProductService { } async updateNetWeight(groupId, localId, net_weight) { - await db.query("UPDATE abstract_products SET net_weight = $1 WHERE group_id = $2 AND local_id = $3", [net_weight, groupId, localId] + await db.query("UPDATE abstract_products SET net_weight = $1 WHERE group_id = $2 AND local_id = $3", [net_weight, groupId, localId]) .catch((e) => { errorHandler(e, "netweight") - })); + }); } async updateImageFilename(groupId, localId, image_filename) {