From 93bb6787389c1c4d56ae5c56718c94730f9ab62e Mon Sep 17 00:00:00 2001 From: vicent Date: Wed, 8 Jun 2022 13:08:53 +0200 Subject: [PATCH] updated endpoints description --- back/methods/chat/send.js | 2 +- back/methods/chat/sendCheckingPresence.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/back/methods/chat/send.js b/back/methods/chat/send.js index 5a4e9ddb9..c5c8feead 100644 --- a/back/methods/chat/send.js +++ b/back/methods/chat/send.js @@ -1,6 +1,6 @@ module.exports = Self => { Self.remoteMethodCtx('send', { - description: 'Insert in model Chat', + description: 'Creates a direct message in the chat model for a user or a channel', accessType: 'WRITE', accepts: [{ arg: 'to', diff --git a/back/methods/chat/sendCheckingPresence.js b/back/methods/chat/sendCheckingPresence.js index 6d8ec3bf8..3bc022429 100644 --- a/back/methods/chat/sendCheckingPresence.js +++ b/back/methods/chat/sendCheckingPresence.js @@ -1,6 +1,6 @@ module.exports = Self => { Self.remoteMethodCtx('sendCheckingPresence', { - description: 'Insert in model Chat', + description: 'Creates a message in the chat model checking the user status', accessType: 'WRITE', accepts: [{ arg: 'workerId',