Commit cfb50f19 authored by Steven's avatar Steven

chore: tweak linter

parent e441e388
......@@ -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=/",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment