mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
Fix #2325
This commit is contained in:
parent
a532ad738f
commit
78ab81cc83
@ -64,7 +64,7 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
|
|||||||
|
|
||||||
if (ps.name) file.filename = ps.name;
|
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 !== undefined) {
|
||||||
if (ps.folderId === null) {
|
if (ps.folderId === null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user