From 09718a717f49633f4382133050647fe4ff6ca007 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Tue, 27 May 2025 01:27:32 +0200 Subject: [PATCH] refactor(Actions): Use Response.json instead of JSON.parse + Response.text (#967) --- src/core/Actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Actions.ts b/src/core/Actions.ts index 0acdce59..ac557fcc 100644 --- a/src/core/Actions.ts +++ b/src/core/Actions.ts @@ -179,7 +179,7 @@ export default class Actions { return { success: response.ok, status_code: response.status, - data: JSON.parse(await response.text()) + data: await response.json() }; }