v1.TokenNewPOST => /tokens, /tokens/new
This commit is contained in:
@@ -97,7 +97,7 @@ func PingGET(md common.MethodData) common.CodeMessager {
|
||||
r.Code = 200
|
||||
|
||||
if md.ID() == 0 {
|
||||
r.Message = "You have not given us a token, so we don't know who you are! But you can still login with /api/v1/tokens/new " + kaomojis[rn.Intn(len(kaomojis))]
|
||||
r.Message = "You have not given us a token, so we don't know who you are! But you can still login with POST /tokens " + kaomojis[rn.Intn(len(kaomojis))]
|
||||
} else {
|
||||
r.Message = surpriseMe()
|
||||
}
|
||||
|
Reference in New Issue
Block a user