diff --git a/modules/client/back/methods/sms/send.js b/modules/client/back/methods/sms/send.js index d11b722f5..2446fb95d 100644 --- a/modules/client/back/methods/sms/send.js +++ b/modules/client/back/methods/sms/send.js @@ -5,6 +5,7 @@ const UserError = require('vn-loopback/util/user-error'); module.exports = Self => { Self.remoteMethodCtx('send', { description: 'Sends SMS to a destination phone', + accessType: 'WRITE', accepts: [{ arg: 'destinationFk', type: 'Integer'