[API] Fix bug
This commit is contained in:
parent
43daf814df
commit
454c1e3faf
@ -26,7 +26,7 @@ export const meta = {
|
||||
export default define(meta, (ps, user) => new Promise(async (res, rej) => {
|
||||
const folders = await DriveFolder
|
||||
.find({
|
||||
name: name,
|
||||
name: ps.name,
|
||||
userId: user._id,
|
||||
parentId: ps.parentId
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user