summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/common/get-friends.ts4
1 files changed, 3 insertions, 1 deletions
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