From 98c82069465c776a31f2a6cf1bf73b3c66e24c44 Mon Sep 17 00:00:00 2001 From: Howl Date: Sat, 9 Apr 2016 23:53:49 +0200 Subject: [PATCH] Fix default message when there's no API key pointing to wrong method --- app/v1/ping.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/v1/ping.go b/app/v1/ping.go index 390c4d7..392b7be 100644 --- a/app/v1/ping.go +++ b/app/v1/ping.go @@ -91,7 +91,7 @@ type pingData struct { func PingGET(md common.MethodData) (r common.Response) { 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/login " + 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 /api/v1/tokens/new " + kaomojis[rn.Intn(len(kaomojis))] } else { r.Message = surpriseMe() }