From 0820a165a82ff709c43f45713d79459ae5367bfd Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 5 Nov 2018 01:42:41 +0900 Subject: [PATCH] [API] Fix bug --- src/server/api/endpoints/drive/folders/find.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/endpoints/drive/folders/find.ts b/src/server/api/endpoints/drive/folders/find.ts index a8ce012f1..fac5f0506 100644 --- a/src/server/api/endpoints/drive/folders/find.ts +++ b/src/server/api/endpoints/drive/folders/find.ts @@ -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 });