Deleted utils.GetUser
This commit is contained in:
arn
auth
middleware
mixins
pages
activity
admin
amv
amvs
anime
animeimport
animelist
animelistitem
calendar
character
characters
charge
companies
company
compare
editlog
editor
embed
episode
explore
genre
genres
group
groups
home
inventory
listimport
me
newthread
notifications
paypal
post
profile
quote
quotes
recommended
search
settings
shop
soundtrack
soundtracks
sse
support
thread
upload
user
welcome
utils
@ -9,13 +9,12 @@ import (
|
||||
"github.com/animenotifier/notify.moe/arn"
|
||||
"github.com/animenotifier/notify.moe/assets"
|
||||
"github.com/animenotifier/notify.moe/components"
|
||||
"github.com/animenotifier/notify.moe/utils"
|
||||
"github.com/animenotifier/notify.moe/utils/editform"
|
||||
)
|
||||
|
||||
// Edit quote.
|
||||
func Edit(ctx aero.Context) error {
|
||||
user := utils.GetUser(ctx)
|
||||
user := arn.GetUserFromContext(ctx)
|
||||
id := ctx.Get("id")
|
||||
quote, err := arn.GetQuote(id)
|
||||
|
||||
|
Reference in New Issue
Block a user