diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-01-18 06:10:56 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-01-18 06:10:56 +0900 |
| commit | 3fa905dee2a79035c0aef53e4999bc0d2be2633a (patch) | |
| tree | 8c6fbda64bb1b1fdee6d19dca311885b49ce8ab8 | |
| parent | [Test] Add some tests (diff) | |
| download | sharkey-3fa905dee2a79035c0aef53e4999bc0d2be2633a.tar.gz sharkey-3fa905dee2a79035c0aef53e4999bc0d2be2633a.tar.bz2 sharkey-3fa905dee2a79035c0aef53e4999bc0d2be2633a.zip | |
[Server] :v:
| -rw-r--r-- | src/api/common/get-friends.ts | 4 |
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 |