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/filesSharingServices.js')
-rw-r--r--src/services/filesSharingServices.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/services/filesSharingServices.js b/src/services/filesSharingServices.js
index cc84cd8f7..c6d74b27a 100644
--- a/src/services/filesSharingServices.js
+++ b/src/services/filesSharingServices.js
@@ -25,12 +25,13 @@ import { showError } from '@nextcloud/dialogs'
/**
* Appends a file as a message to the messagelist.
+ *
* @param {string} path The file path from the user's root directory
* @param {string} token The conversation's token
* e.g. `/myfile.txt`
* @param {string} referenceId An optional reference id to recognize the message later
- * @param {array} metadata the metadata json encoded array
-*/
+ * @param {Array} metadata the metadata json encoded array
+ */
const shareFile = async function(path, token, referenceId, metadata) {
try {
return axios.post(