Updated endpoints description
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2022-03-01 11:09:10 +01:00
parent b71e7440b3
commit 3512e287ae
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ const axios = require('axios');
const tokenLifespan = 10;
module.exports = Self => {
Self.remoteMethodCtx('getServiceAuth', {
description: 'Send a RocketChat message',
description: 'Authenticates with the service and request a new token',
accessType: 'READ',
accepts: [],
returns: {

View File

@ -2,7 +2,7 @@ const axios = require('axios');
module.exports = Self => {
Self.remoteMethodCtx('sendCheckingPresence', {
description: 'Sends a RocketChat message to a working worker or department channel',
description: 'Sends a RocketChat message to a connected user or department channel',
accessType: 'WRITE',
accepts: [{
arg: 'recipientId',