From bb926dd30122de8b9901c0cd81f3872496f495b7 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) {