fix(files_sharing): file request pass empty string if password or expiration is disabled

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
skjnldsv 2025-04-09 14:50:31 +02:00
parent 6a0d92dedf
commit bc70e0ded0

View file

@ -296,8 +296,8 @@ export default defineComponent({
path: this.destination,
note: this.note,
password: this.password || undefined,
expireDate: expireDate || undefined,
password: this.password || '',
expireDate: expireDate || '',
// Empty string
shareWith: '',