Skip to content

Commit 47baed6

Browse files
committed
fix(files_sharing): file request pass empty string if password or expiration is disabled
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent dda74f3 commit 47baed6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/files_sharing/src/components/NewFileRequestDialog.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ export default defineComponent({
296296
path: this.destination,
297297
note: this.note,
298298
299-
password: this.password || undefined,
300-
expireDate: expireDate || undefined,
299+
password: this.password || '',
300+
expireDate: expireDate || '',
301301
302302
// Empty string
303303
shareWith: '',

0 commit comments

Comments
 (0)