From cfb50f19aa7dc3f3170cf6e19341f8a2596e5fef Mon Sep 17 00:00:00 2001 From: Steven Date: Sun, 3 Mar 2024 14:23:21 +0800 Subject: [PATCH] chore: tweak linter --- server/route/api/v2/auth_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/route/api/v2/auth_service.go b/server/route/api/v2/auth_service.go index e7ea805d..ef4b139f 100644 --- a/server/route/api/v2/auth_service.go +++ b/server/route/api/v2/auth_service.go @@ -237,7 +237,7 @@ func (s *APIV2Service) clearAccessTokenCookie(ctx context.Context) error { return nil } -func (s *APIV2Service) buildAccessTokenCookie(ctx context.Context, accessToken string, expireTime time.Time) (string, error) { +func (*APIV2Service) buildAccessTokenCookie(ctx context.Context, accessToken string, expireTime time.Time) (string, error) { attrs := []string{ fmt.Sprintf("%s=%s", auth.AccessTokenCookieName, accessToken), "Path=/",