summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/api/endpoints/aggregation/hashtags.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/api/endpoints/aggregation/hashtags.ts b/src/server/api/endpoints/aggregation/hashtags.ts
index 0daf42427b..c5aacd89cd 100644
--- a/src/server/api/endpoints/aggregation/hashtags.ts
+++ b/src/server/api/endpoints/aggregation/hashtags.ts
@@ -60,5 +60,7 @@ export default () => new Promise(async (res, rej) => {
// タグを人気順に並べ替え
tags = tags.sort((a, b) => b.count - a.count);
+ tags = tags.slice(0, 30);
+
res(tags);
});