From 7e087de6e61ee798a0f123848c3782e52bff276c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=A6=E7=BB=B464?= Date: Wed, 14 Apr 2021 17:58:27 +0800 Subject: [PATCH] doc: fix spell mistake (#627) --- rest/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest/server.go b/rest/server.go index 2c3ec2cb..7370e50f 100644 --- a/rest/server.go +++ b/rest/server.go @@ -110,7 +110,7 @@ func WithJwt(secret string) RouteOption { } // WithJwtTransition returns a func to enable jwt authentication as well as jwt secret transition. -// Which means old and new jwt secrets work together for a peroid. +// Which means old and new jwt secrets work together for a period. func WithJwtTransition(secret, prevSecret string) RouteOption { return func(r *featuredRoutes) { // why not validate prevSecret, because prevSecret is an already used one,