From de8b46f417b5e97496a27216d8aabf1b7fa97a50 Mon Sep 17 00:00:00 2001
From: RandomChars <random@chars.jp>
Date: Sat, 21 Aug 2021 15:03:40 +0900
Subject: [PATCH] fix typo

---
 api.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 			}
 
-- 
GitLab