Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-08-30 15:53:15 +0300
committerJoas Schilling <coding@schilljs.com>2021-08-30 15:53:15 +0300
commitf307272c53cf36489a7743605411b0eea6661430 (patch)
treeeae55087778d119c2ba44c810bd0d723f4ed58a0 /src/services
parent628d65ad744160c7801f43dd810117b48540c55c (diff)
Replace "bool" with type "boolean"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/services')
-rw-r--r--src/services/messagesService.js4
-rw-r--r--src/services/participantsService.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/services/messagesService.js b/src/services/messagesService.js
index cfbe4c28a..36ef166d7 100644
--- a/src/services/messagesService.js
+++ b/src/services/messagesService.js
@@ -30,9 +30,9 @@ import Hex from 'crypto-js/enc-hex'
* specified with its token.
*
* @param {string} token the conversation token;
- * @param {object} options options;
* @param {string} lastKnownMessageId last known message id;
- * @param {bool} includeLastKnown whether to include the last known message in the response;
+ * @param {boolean} includeLastKnown whether to include the last known message in the response;
+ * @param {object} options options;
*/
const fetchMessages = async function({ token, lastKnownMessageId, includeLastKnown }, options) {
return axios.get(generateOcsUrl('apps/spreed/api/v1/chat/{token}', { token }), Object.assign(options, {
diff --git a/src/services/participantsService.js b/src/services/participantsService.js
index df0d22022..a732ce439 100644
--- a/src/services/participantsService.js
+++ b/src/services/participantsService.js
@@ -35,7 +35,7 @@ import {
*
* @param {string} token The conversation token;
* @param {options} options request options;
- * @param {bool} forceJoin whether to force join;
+ * @param {boolean} forceJoin whether to force join;
*/
const joinConversation = async ({ token, forceJoin = false }, options) => {
const response = await axios.post(generateOcsUrl('apps/spreed/api/v4/room/{token}/participants/active', { token }), {