diff --git a/modules/order/back/methods/order/confirm.js b/modules/order/back/methods/order/confirm.js index b1046ebf3..788486060 100644 --- a/modules/order/back/methods/order/confirm.js +++ b/modules/order/back/methods/order/confirm.js @@ -1,6 +1,6 @@ module.exports = Self => { Self.remoteMethod('confirm', { - description: 'Gets the taxes of a given order', + description: 'Confirms an order', accessType: 'WRITE', accepts: [{ arg: 'id', @@ -20,7 +20,7 @@ module.exports = Self => { }); Self.confirm = async orderFk => { - let query = `CALL hedera.orderConfirm(?);`; + let query = `CALL hedera.orderConfirm(?)`; return await Self.rawSql(query, [orderFk]); }; };