updated description

This commit is contained in:
Gerard 2019-01-18 13:37:48 +01:00
parent 97b2c23179
commit 32743cb1d2
1 changed files with 2 additions and 2 deletions

View File

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