Removed PrefetchAnime()
This commit is contained in:
benchmarks
pages
animelist
dashboard
embed
home
profile
@ -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)
|
||||
|
Reference in New Issue
Block a user