Worker calendar - Add absence #336

Merged
joan merged 9 commits from 1876-worker_calendar into dev 2020-07-16 10:44:49 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 87fa66fe8c - Show all commits

View File

@ -2,7 +2,7 @@ const UserError = require('vn-loopback/util/user-error');
module.exports = Self => {
Self.remoteMethodCtx('createAbsence', {
description: 'Returns an array of absences from an specified worker',
description: 'Creates a new worker absence',
accepts: [{
arg: 'id',
type: 'Number',

View File

@ -2,7 +2,7 @@ const UserError = require('vn-loopback/util/user-error');
module.exports = Self => {
Self.remoteMethodCtx('deleteAbsence', {
description: 'Returns an array of absences from an specified worker',
description: 'Deletes a worker absence',
accepts: [{
arg: 'id',
type: 'Number',

View File

@ -2,7 +2,7 @@ const UserError = require('vn-loopback/util/user-error');
module.exports = Self => {
Self.remoteMethodCtx('updateAbsence', {
description: 'Returns an array of absences from an specified worker',
description: 'Updates a worker absence',
accepts: [{
arg: 'id',
type: 'Number',