summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/notes
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-02-25 04:20:42 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-02-25 04:20:42 +0900
commit28086111e16da82ec0b3339189a9866453cff0c9 (patch)
treeafcd3622b4a3c31be4cab6f883d8df0e18206a64 /src/server/api/endpoints/notes
parentImprove doc (diff)
downloadsharkey-28086111e16da82ec0b3339189a9866453cff0c9.tar.gz
sharkey-28086111e16da82ec0b3339189a9866453cff0c9.tar.bz2
sharkey-28086111e16da82ec0b3339189a9866453cff0c9.zip
Resolve #4325
Diffstat (limited to 'src/server/api/endpoints/notes')
-rw-r--r--src/server/api/endpoints/notes/featured.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/notes/featured.ts b/src/server/api/endpoints/notes/featured.ts
index 0d2187bb06..0bf583b54d 100644
--- a/src/server/api/endpoints/notes/featured.ts
+++ b/src/server/api/endpoints/notes/featured.ts
@@ -42,7 +42,7 @@ export default define(meta, async (ps, user) => {
$gt: new Date(Date.now() - day)
},
deletedAt: null,
- visibility: { $in: ['public', 'home'] },
+ visibility: 'public',
'_user.host': null,
...(hideUserIds && hideUserIds.length > 0 ? { userId: { $nin: hideUserIds } } : {})
}, {