Introduce followed log and following log

This commit is contained in:
Akihiko Odaki
2018-04-02 21:57:36 +09:00
parent 7942f76acb
commit 319e905bf9
14 changed files with 101 additions and 117 deletions

View File

@ -46,8 +46,7 @@ module.exports = (params, me) => new Promise(async (res, rej) => {
// Construct query
const query = {
followeeId: user._id,
deletedAt: { $exists: false }
followeeId: user._id
} as any;
// ログインしていてかつ iknow フラグがあるとき

View File

@ -46,8 +46,7 @@ module.exports = (params, me) => new Promise(async (res, rej) => {
// Construct query
const query = {
followerId: user._id,
deletedAt: { $exists: false }
followerId: user._id
} as any;
// ログインしていてかつ iknow フラグがあるとき