diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-01 12:34:12 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-01 12:34:12 +0900 |
| commit | bbd3b6da079c43e62a76e3b1e24ffd422e42c883 (patch) | |
| tree | 2c05032571fa423acbbf4ca6c3814c32b852a204 /src/api/endpoints/posts/timeline.ts | |
| parent | :v: (diff) | |
| download | sharkey-bbd3b6da079c43e62a76e3b1e24ffd422e42c883.tar.gz sharkey-bbd3b6da079c43e62a76e3b1e24ffd422e42c883.tar.bz2 sharkey-bbd3b6da079c43e62a76e3b1e24ffd422e42c883.zip | |
wip
Diffstat (limited to 'src/api/endpoints/posts/timeline.ts')
| -rw-r--r-- | src/api/endpoints/posts/timeline.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/api/endpoints/posts/timeline.ts b/src/api/endpoints/posts/timeline.ts index 314e992344..5fe8200010 100644 --- a/src/api/endpoints/posts/timeline.ts +++ b/src/api/endpoints/posts/timeline.ts @@ -42,6 +42,12 @@ module.exports = (params, user, app) => new Promise(async (res, rej) => { const query = { user_id: { $in: followingIds + }, + // TODO + channel_id: { + $or: [{ + $exists: false + }, null] } } as any; if (sinceId) { |