diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-06-12 01:48:29 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-06-12 01:48:29 +0900 |
| commit | f90e9596d48827c9f290a7f139e610fabc1308ad (patch) | |
| tree | 02fc568fa8ab1370eabf12e7a9798f0d0c2904c2 /src/server/api/endpoints | |
| parent | Fix bug (diff) | |
| download | sharkey-f90e9596d48827c9f290a7f139e610fabc1308ad.tar.gz sharkey-f90e9596d48827c9f290a7f139e610fabc1308ad.tar.bz2 sharkey-f90e9596d48827c9f290a7f139e610fabc1308ad.zip | |
Fix bug
Diffstat (limited to 'src/server/api/endpoints')
| -rw-r--r-- | src/server/api/endpoints/hashtags/trend.ts | 2 |
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; |