summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandomChars <random@chars.jp>2021-08-21 15:03:40 +0900
committerRandomChars <random@chars.jp>2021-08-21 15:03:40 +0900
commitde8b46f417b5e97496a27216d8aabf1b7fa97a50 (patch)
treefc9775766574488db2f2366a7e8a288f28eb53df
parent85879c9436b9779c2c038995f9b6291a7513fd5b (diff)
fix typov0.8.6
-rw-r--r--api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.go b/api.go
index 4f329cd..cc5162c 100644
--- a/api.go
+++ b/api.go
@@ -35,7 +35,7 @@ func registerAPI() {
user, ok := getUser(context)
if !instance.Register {
if !ok {
- context.JSON(http.StatusForbidden, api.Error{Error: "user registration daisallowed"})
+ context.JSON(http.StatusForbidden, api.Error{Error: "user registration disallowed"})
return
}