sms accessType

This commit is contained in:
Joan Sanchez 2019-05-23 11:39:14 +02:00
parent cc72432a37
commit e60ebb283b
1 changed files with 1 additions and 0 deletions

View File

@ -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'