Removed PrefetchAnime()

This commit is contained in:
2017-11-05 19:12:56 +01:00
parent daded28acb
commit f88a728a5a
8 changed files with 0 additions and 8 deletions

@ -37,7 +37,6 @@ func Profile(ctx *aero.Context, viewUser *arn.User) string {
user = utils.GetUser(ctx)
}, func() {
animeList = viewUser.AnimeList()
animeList.PrefetchAnime()
// Sort by rating
sort.Slice(animeList.Items, func(i, j int) bool {

@ -28,7 +28,6 @@ func GetStatsByUser(ctx *aero.Context) string {
}
animeList, err := arn.GetAnimeList(viewUser.ID)
animeList.PrefetchAnime()
if err != nil {
return ctx.Error(http.StatusInternalServerError, "Anime list not found", err)