mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-28 04:53:08 +02:00
Fix #2325
This commit is contained in:
parent
c2b882a5d7
commit
2fc6313380
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
|
|||
|
||||
if (ps.name) file.filename = ps.name;
|
||||
|
||||
if (ps.isSensitive) file.metadata.isSensitive = ps.isSensitive;
|
||||
if (ps.isSensitive !== undefined) file.metadata.isSensitive = ps.isSensitive;
|
||||
|
||||
if (ps.folderId !== undefined) {
|
||||
if (ps.folderId === null) {
|
||||
|
|
Loading…
Reference in a new issue