mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 15:40:57 -07:00
[API] Fix bug
This commit is contained in:
parent
70cc59d6c6
commit
73f2bc4c52
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue