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