From aecb04eeb58733b35310a1ddcdc0f86415f884ba Mon Sep 17 00:00:00 2001 From: Kevin He Date: Wed, 9 Oct 2024 17:16:18 -0700 Subject: [PATCH] Update README.md Co-authored-by: Alex Vuong --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d02e69..8bb2767 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ const config = { For more info, refer to the [documentation site](https://salesforcecommercecloud.github.io/commerce-sdk-isomorphic/). -#### `throwOnBasResponse` +#### `throwOnBadResponse` When `true`, the SDK throws an `Error` on responses whose status is not 2xx or 304. By default, the value of this flag is `false` for backwards compatibility. Below is an example for accessing the error object via `e.response.json()`.