Fixed the routes test

This commit is contained in:
2018-12-07 16:20:10 +09:00
parent e4d49b7fb4
commit 4001f3dad8
3 changed files with 46 additions and 47 deletions

View File

@ -15,11 +15,6 @@ import (
func Sequels(ctx *aero.Context) string {
nick := ctx.Get("nick")
user := utils.GetUser(ctx)
if user == nil {
return ctx.Error(http.StatusUnauthorized, "Not logged in")
}
viewUser, err := arn.GetUserByNick(nick)
if err != nil {