mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 08:23:08 +02:00
Fix bug
This commit is contained in:
parent
944f9524e2
commit
f90e9596d4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue