summaryrefslogtreecommitdiff
path: root/src/server/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api')
-rw-r--r--src/server/api/endpoints/hashtags/trend.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/hashtags/trend.ts b/src/server/api/endpoints/hashtags/trend.ts
index 3ad143aaf0..91fbd2f9fd 100644
--- a/src/server/api/endpoints/hashtags/trend.ts
+++ b/src/server/api/endpoints/hashtags/trend.ts
@@ -67,7 +67,7 @@ module.exports = () => new Promise(async (res, rej) => {
}
}) as any).length;
- if (passedCount > (tag.count * coefficient)) {
+ if (tag.count > (passedCount * coefficient)) {
return tag;
} else {
return null;