From a7efa1068d7cfbf6e11b71fc762dba1362775232 Mon Sep 17 00:00:00 2001 From: itaigilo Date: Tue, 24 Sep 2024 18:24:34 +0300 Subject: [PATCH] Adjust Create PR of WebUI to API (#8220) * Adjust Create PR of WebUI to API * Update webui/src/lib/api/index.js --------- Co-authored-by: N-o-Z --- webui/src/lib/api/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/src/lib/api/index.js b/webui/src/lib/api/index.js index 637cb218cee..85648ac2a09 100644 --- a/webui/src/lib/api/index.js +++ b/webui/src/lib/api/index.js @@ -613,7 +613,7 @@ class Pulls { throw new Error(`${baseMessage} (status = ${response.status}).`); } } - return await response.text(); + return response.json() } async update(repoId, pullId, pullDetails) {