From f90e9596d48827c9f290a7f139e610fabc1308ad Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Tue, 12 Jun 2018 01:48:29 +0900
Subject: [PATCH] Fix bug

---
 src/server/api/endpoints/hashtags/trend.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;