updated description
This commit is contained in:
parent
97b2c23179
commit
32743cb1d2
|
@ -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]);
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue