chore: tweak linter

This commit is contained in:
Steven 2024-03-03 14:23:21 +08:00
parent e441e3882b
commit cfb50f19aa

View file

@ -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=/",