[API] Fix bug
This commit is contained in:
parent
92dfcdad57
commit
438563b505
@ -26,7 +26,7 @@ export const meta = {
|
||||
export default define(meta, (ps, user) => new Promise(async (res, rej) => {
|
||||
const files = await DriveFile
|
||||
.find({
|
||||
filename: name,
|
||||
filename: ps.name,
|
||||
'metadata.userId': user._id,
|
||||
'metadata.folderId': ps.folderId
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user