From d3295ccc133b374b152c78ea63429b0dccd62d23 Mon Sep 17 00:00:00 2001 From: Rishabh Date: Thu, 23 Sep 2021 19:51:02 +0530 Subject: [PATCH] Fixed incorrect event api response handling no refs --- ghost/portal/src/utils/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/portal/src/utils/api.js b/ghost/portal/src/utils/api.js index 5e229e8b3a..b3996cd8dd 100644 --- a/ghost/portal/src/utils/api.js +++ b/ghost/portal/src/utils/api.js @@ -49,7 +49,7 @@ function setupGhostApi({siteUrl = window.location.origin}) { if (!res.ok) { return null; } - return res.json(); + return res.text(); }); } };