Update dashboard.go

This commit is contained in:
Allen Lydiard 2017-06-26 13:58:02 -03:00 committed by GitHub
parent b8ff2e3e2f
commit 5083d67a62

View File

@ -24,12 +24,12 @@ func Get(ctx *aero.Context) string {
// Get dashboard. // Get dashboard.
func Dashboard(ctx *aero.Context) string { func Dashboard(ctx *aero.Context) string {
user := utils.GetUser(ctx)
var posts []*arn.Post var posts []*arn.Post
var err error var err error
var followIDList []string var followIDList []string
var userList interface{} var userList interface{}
var followingList []*arn.User var followingList []*arn.User
user := utils.GetUser(ctx)
flow.Parallel(func() { flow.Parallel(func() {
posts, err = arn.AllPostsSlice() posts, err = arn.AllPostsSlice()