General improvements

This commit is contained in:
2017-06-23 18:22:48 +02:00
parent 294e8db22c
commit 7269bbbaca
5 changed files with 18 additions and 14 deletions

View File

@ -2,6 +2,7 @@ package profile
import (
"github.com/aerogo/aero"
"github.com/aerogo/flow"
"github.com/animenotifier/arn"
"github.com/animenotifier/notify.moe/components"
"github.com/animenotifier/notify.moe/utils"
@ -28,7 +29,7 @@ func Profile(ctx *aero.Context, viewUser *arn.User) string {
var animeList *arn.AnimeList
var posts []*arn.Post
aero.Parallel(func() {
flow.Parallel(func() {
user = utils.GetUser(ctx)
}, func() {
animeList = viewUser.AnimeList()