From ed79710c2bc23a4a974c917d52915f5030df34d4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 8 Nov 2017 16:52:06 +0900 Subject: [PATCH] Fix bug --- src/api/endpoints/drive/stream.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/endpoints/drive/stream.ts b/src/api/endpoints/drive/stream.ts index 58e7d11678..7ee255e5d1 100644 --- a/src/api/endpoints/drive/stream.ts +++ b/src/api/endpoints/drive/stream.ts @@ -39,7 +39,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => { _id: -1 }; const query = { - user_id: user._id + 'metadata.user_id': user._id } as any; if (sinceId) { sort._id = 1;