[API] Fix bug

This commit is contained in:
syuilo 2018-11-05 01:42:41 +09:00
parent d91a044da8
commit 0820a165a8

View File

@ -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
});