aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/models
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/models')
-rw-r--r--apps/files_sharing/src/models/Share.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/src/models/Share.js b/apps/files_sharing/src/models/Share.js
index 13b68ad68be..35a95119542 100644
--- a/apps/files_sharing/src/models/Share.js
+++ b/apps/files_sharing/src/models/Share.js
@@ -250,7 +250,7 @@ export default class Share {
* @memberof Share
*/
set note(note) {
- this.#share.note = note.trim()
+ this.#share.note = note
}
/**
@@ -303,7 +303,7 @@ export default class Share {
* @memberof Share
*/
set password(password) {
- this.#share.password = password.trim()
+ this.#share.password = password
}
// SHARED ITEM DATA ---------------------------------------------