From bb9fe8bc14a891074439605e312e8bc48d3badd7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 31 May 2021 11:05:37 +0900 Subject: [PATCH] fix bug --- src/client/os.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/os.ts b/src/client/os.ts index e6355b45b..987844b2d 100644 --- a/src/client/os.ts +++ b/src/client/os.ts @@ -60,7 +60,7 @@ export const api = ((endpoint: string, data: Record = {}, token?: s if (res.status === 200) { resolve(body); if (debug) { - log!.res = markRaw(body); + log!.res = markRaw(JSON.parse(JSON.stringify(body))); log!.state = 'success'; } } else if (res.status === 204) {