From a3039a8cc7dcded9f62e29c474ca88fb3866bc6c Mon Sep 17 00:00:00 2001 From: nochill Date: Fri, 8 Sep 2023 12:37:39 +0700 Subject: [PATCH] fix type --- api/token.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/token.go b/api/token.go index a50edfb..3f2613c 100644 --- a/api/token.go +++ b/api/token.go @@ -60,7 +60,7 @@ func (server *Server) renewAccessToken(ctx *gin.Context) { } if time.Now().After(refreshPayload.ExpiredAt) { - err := fmt.Errorf("Exprired session") + err := fmt.Errorf("Expired session") ctx.JSON(http.StatusUnauthorized, errorResponse(err, "")) return }