fix type
This commit is contained in:
parent
2b39d32799
commit
a3039a8cc7
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user