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"
|
||||
)
|
||||
|
||||
@ -12,7 +11,7 @@ const maxQuotes = 15
|
||||
|
||||
// Latest renders the latest quotes.
|
||||
func Latest(ctx aero.Context) error {
|
||||
user := utils.GetUser(ctx)
|
||||
user := arn.GetUserFromContext(ctx)
|
||||
index, _ := ctx.GetInt("index")
|
||||
|
||||
// Fetch all eligible quotes
|
||||
|
Reference in New Issue
Block a user