diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-05-31 11:05:37 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-05-31 11:05:37 +0900 |
| commit | bb926dd30122de8b9901c0cd81f3872496f495b7 (patch) | |
| tree | 14c9b7a32c533db5993770d404af1b6317ae11e8 /src | |
| parent | Update deps (diff) | |
| download | sharkey-bb926dd30122de8b9901c0cd81f3872496f495b7.tar.gz sharkey-bb926dd30122de8b9901c0cd81f3872496f495b7.tar.bz2 sharkey-bb926dd30122de8b9901c0cd81f3872496f495b7.zip | |
fix bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/os.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/os.ts b/src/client/os.ts index e6355b45b8..987844b2d2 100644 --- a/src/client/os.ts +++ b/src/client/os.ts @@ -60,7 +60,7 @@ export const api = ((endpoint: string, data: Record<string, any> = {}, 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) { |