This commit is contained in:
D065023
2020-01-29 14:13:42 +01:00
parent 2787284aad
commit d4793177fc

View File

@@ -20,10 +20,6 @@ module.exports = cds.service.impl(async function () {
}
})
this.on('OrderBlocked', msg => {
console.log('>>>> Received', msg.data)
})
/** Add some discount for overstocked books */
function _addDiscount2(each, discount) {
each.title += ` -- ${discount}% discount!`