add: make a higher gpa harder
This commit is contained in:
parent
15dc2e5d71
commit
6245f9fd2e
1 changed files with 2 additions and 2 deletions
|
@ -550,8 +550,8 @@ impl DataManager {
|
|||
let posts = res.unwrap();
|
||||
|
||||
for post in posts {
|
||||
if post.likes == 0 && post.dislikes == 0 {
|
||||
// post has no likes or dislikes... doesn't count
|
||||
if (post.likes == 0 && post.dislikes == 0) | ((post.likes + post.dislikes) < 5) {
|
||||
// post has no likes or dislikes (or has too few reactions)... doesn't count
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue