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:
Diffstat (limited to 'src/services/filesIntegrationServices.js')
-rw-r--r--src/services/filesIntegrationServices.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/services/filesIntegrationServices.js b/src/services/filesIntegrationServices.js
index 578e2f69b..49eb32dad 100644
--- a/src/services/filesIntegrationServices.js
+++ b/src/services/filesIntegrationServices.js
@@ -26,9 +26,10 @@ import { generateOcsUrl } from '@nextcloud/router'
/**
* Gets the conversation token for a given file id
*
- * @param {Object} .fileId the id of the file
- * @param {Object} options unused
- * @returns {String} the conversation token
+ * @param {object} .fileId the id of the file
+ * @param options.fileId
+ * @param {object} options unused
+ * @return {string} the conversation token
*/
const getFileConversation = async function({ fileId }, options) {
const response = await axios.get(generateOcsUrl('apps/spreed/api/v1/file/{fileId}', { fileId }))
@@ -38,8 +39,8 @@ const getFileConversation = async function({ fileId }, options) {
/**
* Gets the public share conversation token for a given share token.
*
- * @param {String} shareToken the token of the share
- * @returns {String} the conversation token
+ * @param {string} shareToken the token of the share
+ * @return {string} the conversation token
* @throws {Exception} if the conversation token could not be got
*/
const getPublicShareConversationData = async function(shareToken) {