Updated dashboard with new aerogo/aerospike version
This commit is contained in:
parent
d9656bf950
commit
280cd1268e
@ -34,7 +34,6 @@ func Get(ctx *aero.Context) string {
|
||||
followIDList := user.Following
|
||||
var followingList []*arn.User
|
||||
|
||||
if len(followIDList) > 0 {
|
||||
if len(followIDList) > maxFollowing {
|
||||
followIDList = followIDList[:maxFollowing]
|
||||
}
|
||||
@ -46,7 +45,6 @@ func Get(ctx *aero.Context) string {
|
||||
}
|
||||
|
||||
followingList = userList.([]*arn.User)
|
||||
}
|
||||
|
||||
return ctx.HTML(components.Dashboard(posts, followingList))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user