From 3fa905dee2a79035c0aef53e4999bc0d2be2633a Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 18 Jan 2017 06:10:56 +0900 Subject: [PATCH] [Server] :v: --- src/api/common/get-friends.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/api/common/get-friends.ts b/src/api/common/get-friends.ts index 6703382e8f..db6313816d 100644 --- a/src/api/common/get-friends.ts +++ b/src/api/common/get-friends.ts @@ -10,7 +10,9 @@ export default async (me: mongodb.ObjectID, includeMe: boolean = true) => { // 削除されたドキュメントは除く deleted_at: { $exists: false } }, { - followee_id: true + fields: { + followee_id: true + } }); // ID list of other users who the I follows