diff options
author | Sebastian <sebasjm@gmail.com> | 2023-10-21 20:23:11 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-10-21 20:23:11 -0300 |
commit | 4b98b693d696d90f30f0a6546b0e1f4bc181a5f2 (patch) | |
tree | 3a02b98c89ca60f33b9324a5a08865ba612ffa5e /packages/web-util/src | |
parent | d783cdc82b5e1c1c90cc13ee15e04381935fcbf8 (diff) | |
download | wallet-core-4b98b693d696d90f30f0a6546b0e1f4bc181a5f2.tar.xz |
add missing response code
Diffstat (limited to 'packages/web-util/src')
-rw-r--r-- | packages/web-util/src/utils/http-impl.browser.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web-util/src/utils/http-impl.browser.ts b/packages/web-util/src/utils/http-impl.browser.ts index f19d1fe61..db789a536 100644 --- a/packages/web-util/src/utils/http-impl.browser.ts +++ b/packages/web-util/src/utils/http-impl.browser.ts @@ -69,7 +69,7 @@ export class BrowserHttpLib implements HttpRequestLibrary { } let myBody: ArrayBuffer | undefined = - requestMethod === "POST" || requestMethod === "PUT" + requestMethod === "POST" || requestMethod === "PUT" || requestMethod === "PATCH" ? encodeBody(requestBody) : undefined; |