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

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
This commit is contained in:
skjnldsv 2025-04-09 14:50:31 +02:00 committed by John Molakvoæ (skjnldsv)
parent de30163f9a
commit f47b72c134
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF

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: '',