chore: remove useLocalStorage hook (#11712)

This commit is contained in:
Kayla Washburn-Love
2024-01-19 16:04:19 -07:00
committed by GitHub
parent fa99f6a200
commit 80eac73ed1
17 changed files with 84 additions and 93 deletions

View File

@ -327,7 +327,7 @@ func (c *DeviceAuth) AuthorizeDevice(ctx context.Context) (*codersdk.ExternalAut
case http.StatusTooManyRequests:
return nil, xerrors.New("rate limit hit, unable to authorize device. please try again later")
default:
return nil, fmt.Errorf("status_code=%d: %w", resp.StatusCode, err)
return nil, xerrors.Errorf("status_code=%d: %w", resp.StatusCode, err)
}
}
if r.ErrorDescription != "" {