Move to standard README and package-lock file
This commit is contained in:
@@ -1,15 +1,5 @@
|
||||
/** Service implementation for AdminService */
|
||||
module.exports = cds.service.impl(function() {
|
||||
<<<<<<< HEAD
|
||||
this.before ('CREATE', 'Orders', _checkOrderCreateAuth)
|
||||
})
|
||||
|
||||
|
||||
/** Check authorization */
|
||||
function _checkOrderCreateAuth (req) {
|
||||
req.user.currency[0] === req.data.currency_code || req.reject(403)
|
||||
}
|
||||
=======
|
||||
this.before ('CREATE', 'Orders', _checkOrderCreateAuth)
|
||||
})
|
||||
|
||||
@@ -18,4 +8,3 @@ function _checkOrderCreateAuth (req) {
|
||||
function _checkOrderCreateAuth (req) {
|
||||
req.user.currency[0] === req.data.currency_code || req.reject(403)
|
||||
}
|
||||
>>>>>>> cad3a32c78620f4c4558fad34991dd48866af8d3
|
||||
|
||||
Reference in New Issue
Block a user