Introduce followed log and following log
This commit is contained in:
parent
7942f76acb
commit
319e905bf9
14 changed files with 101 additions and 117 deletions
|
|
@ -6,9 +6,7 @@ export default async (me: mongodb.ObjectID, includeMe: boolean = true) => {
|
|||
// SELECT followee
|
||||
const myfollowing = await Following
|
||||
.find({
|
||||
followerId: me,
|
||||
// 削除されたドキュメントは除く
|
||||
deletedAt: { $exists: false }
|
||||
followerId: me
|
||||
}, {
|
||||
fields: {
|
||||
followeeId: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue