Deleted utils.GetUser
This commit is contained in:
@ -14,7 +14,7 @@ import (
|
||||
func Lyrics(ctx aero.Context) error {
|
||||
id := ctx.Get("id")
|
||||
track, err := arn.GetSoundTrack(id)
|
||||
user := utils.GetUser(ctx)
|
||||
user := arn.GetUserFromContext(ctx)
|
||||
|
||||
if err != nil {
|
||||
return ctx.Error(http.StatusNotFound, "Track not found", err)
|
||||
|
Reference in New Issue
Block a user