Fixed lint error
Ok, now I will install linter.
This commit is contained in:
parent
1e5f654928
commit
9c80f8dd7e
@ -60,7 +60,7 @@ func averageScore(user *arn.User, animes []*arn.Anime) float64 {
|
|||||||
userAnime := animeList.Find(anime.ID)
|
userAnime := animeList.Find(anime.ID)
|
||||||
if userAnime != nil && !userAnime.Rating.IsNotRated() {
|
if userAnime != nil && !userAnime.Rating.IsNotRated() {
|
||||||
scores += userAnime.Rating.Overall
|
scores += userAnime.Rating.Overall
|
||||||
count += 1
|
count++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user