aboutsummaryrefslogtreecommitdiff
path: root/packages/web-util/src
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-10-21 20:23:11 -0300
committerSebastian <sebasjm@gmail.com>2023-10-21 20:23:11 -0300
commit4b98b693d696d90f30f0a6546b0e1f4bc181a5f2 (patch)
tree3a02b98c89ca60f33b9324a5a08865ba612ffa5e /packages/web-util/src
parentd783cdc82b5e1c1c90cc13ee15e04381935fcbf8 (diff)
downloadwallet-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.ts2
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;