Deleted utils.GetUser
This commit is contained in:
@ -4,7 +4,6 @@ import (
|
||||
"github.com/aerogo/aero"
|
||||
"github.com/animenotifier/notify.moe/arn"
|
||||
"github.com/animenotifier/notify.moe/components"
|
||||
"github.com/animenotifier/notify.moe/utils"
|
||||
"github.com/animenotifier/notify.moe/utils/infinitescroll"
|
||||
)
|
||||
|
||||
@ -15,7 +14,7 @@ const (
|
||||
|
||||
// render renders the groups page with the given groups.
|
||||
func render(ctx aero.Context, allGroups []*arn.Group) error {
|
||||
user := utils.GetUser(ctx)
|
||||
user := arn.GetUserFromContext(ctx)
|
||||
index, _ := ctx.GetInt("index")
|
||||
|
||||
// Slice the part that we need
|
||||
|
Reference in New Issue
Block a user