Fixed embed error
This commit is contained in:
parent
c1d84aef2f
commit
092ba2ef0a
@ -14,7 +14,7 @@ func Get(ctx *aero.Context) string {
|
|||||||
user := utils.GetUser(ctx)
|
user := utils.GetUser(ctx)
|
||||||
|
|
||||||
if user == nil {
|
if user == nil {
|
||||||
return ctx.HTML(components.Login())
|
return utils.AllowEmbed(ctx, ctx.HTML(components.Login()))
|
||||||
}
|
}
|
||||||
|
|
||||||
animeList := user.AnimeList()
|
animeList := user.AnimeList()
|
||||||
|
Loading…
Reference in New Issue
Block a user