summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-05-14 13:54:18 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-05-14 13:54:18 +0900
commitf20c08f0f7c7921e31cb0b1e2498d20300e390a3 (patch)
tree91a1a6be4d39a4932cecc674240427ceb8e5aa7c /src/server/api/endpoints
parentUpdate add-file.ts (diff)
downloadsharkey-f20c08f0f7c7921e31cb0b1e2498d20300e390a3.tar.gz
sharkey-f20c08f0f7c7921e31cb0b1e2498d20300e390a3.tar.bz2
sharkey-f20c08f0f7c7921e31cb0b1e2498d20300e390a3.zip
Fix bug
Diffstat (limited to 'src/server/api/endpoints')
-rw-r--r--src/server/api/endpoints/notes/trend.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/api/endpoints/notes/trend.ts b/src/server/api/endpoints/notes/trend.ts
index 9cb3debe63..cb3912dc48 100644
--- a/src/server/api/endpoints/notes/trend.ts
+++ b/src/server/api/endpoints/notes/trend.ts
@@ -43,7 +43,8 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
},
renoteCount: {
$gt: 0
- }
+ },
+ '_user.host': null
} as any;
if (reply != undefined) {