mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
[API] Fix bug
This commit is contained in:
parent
70cc59d6c6
commit
73f2bc4c52
@ -26,7 +26,7 @@ export const meta = {
|
|||||||
export default define(meta, (ps, user) => new Promise(async (res, rej) => {
|
export default define(meta, (ps, user) => new Promise(async (res, rej) => {
|
||||||
const files = await DriveFile
|
const files = await DriveFile
|
||||||
.find({
|
.find({
|
||||||
filename: name,
|
filename: ps.name,
|
||||||
'metadata.userId': user._id,
|
'metadata.userId': user._id,
|
||||||
'metadata.folderId': ps.folderId
|
'metadata.folderId': ps.folderId
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user