Skip to content

Commit

Permalink
feat: 转换参数改为 gfm
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Jun 25, 2023
1 parent c615ded commit de3ac78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/kernel-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class KernelApi extends BaseApi {
return await response.text()
}
if (type === "json") {
return (await response.json()).data
return await response.json()
}
}
return null
Expand Down

0 comments on commit de3ac78

Please sign in to comment.