From cc12a46509bc6c67e2219cf7ceae9fabb3ebc1ba Mon Sep 17 00:00:00 2001 From: Jah-yee <166608075+Jah-yee@users.noreply.github.com> Date: Sat, 27 Jun 2026 09:13:50 +0800 Subject: [PATCH] fix: correct sucessfully to successfully typo in logout message --- src/api/users.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/users.go b/src/api/users.go index 1993970..6ea640c 100644 --- a/src/api/users.go +++ b/src/api/users.go @@ -329,7 +329,7 @@ func Logout(c *gin.Context) { } } c.SetCookie("token", "", -1, "/", "", false, true) - c.JSON(http.StatusOK, gin.H{"code": http.StatusUnauthorized, "link": "/", "message": "logout sucessfully"}) + c.JSON(http.StatusOK, gin.H{"code": http.StatusUnauthorized, "link": "/", "message": "logout successfully"}) } func iamLogout(token *jwt.Token) error {