From 5d8d6fa4a0f608c2c5ed583aa54de9b836daaa5f Mon Sep 17 00:00:00 2001
From: Ali Mihandoost <ali.mihandoost@gmail.com>
Date: Sat, 19 Nov 2022 13:19:57 +0330
Subject: [PATCH] fix(fetch): bodyJson issue

---
 packages/core/fetch/src/fetch.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/core/fetch/src/fetch.ts b/packages/core/fetch/src/fetch.ts
index 1cc675a42..10580685d 100644
--- a/packages/core/fetch/src/fetch.ts
+++ b/packages/core/fetch/src/fetch.ts
@@ -155,7 +155,7 @@ function _processOptions(options: Partial<FetchOptions> & {url: string}): FetchO
     }
   }
 
-  if (options.body == null && options.bodyJson != null) {
+  if (options.bodyJson != null) {
     options.body = JSON.stringify(options.bodyJson);
     options.headers = {
       ...options.headers,