mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
Fix(client): iをパラメーターに含めてもデフォルトのiが付与されるのを修正 (#8039)
This commit is contained in:
parent
be34424df4
commit
d989b9963f
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ export default defineComponent({
|
|||
send() {
|
||||
this.sending = true;
|
||||
const body = JSON5.parse(this.body);
|
||||
os.api(this.endpoint, body, body.i || this.withCredential ? undefined : null).then(res => {
|
||||
os.api(this.endpoint, body, body.i || (this.withCredential ? undefined : null)).then(res => {
|
||||
this.sending = false;
|
||||
this.res = JSON5.stringify(res, null, 2);
|
||||
}, err => {
|
||||
|
|
Loading…
Reference in a new issue