Skip to content
Snippets Groups Projects
Unverified Commit b1bd7307 authored by futchitwo's avatar futchitwo Committed by GitHub
Browse files

Fix(client): APIコンソールで with credential がオフだとiが付与されないように (#8038)

parent 8a3f8602
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,8 @@ export default defineComponent({
methods: {
send() {
this.sending = true;
os.api(this.endpoint, JSON5.parse(this.body)).then(res => {
const body = JSON5.parse(this.body);
os.api(this.endpoint, body, body.i || this.withCredential ? undefined : null).then(res => {
this.sending = false;
this.res = JSON5.stringify(res, null, 2);
}, err => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment