refactor(Actions): Use Response.json instead of JSON.parse + Response.text (#967)

This commit is contained in:
absidue
2025-05-27 01:27:32 +02:00
committed by GitHub
parent 0f1fd7223c
commit 09718a717f

View File

@@ -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()
};
}