mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
bugfix
This commit is contained in:
+6
-3
@@ -311,7 +311,10 @@ CefSharp.BindObjectAsync(
|
||||
text: escapeTag(json.success.message)
|
||||
}).show();
|
||||
}
|
||||
} else if (isObject(json.error)) {
|
||||
return json;
|
||||
}
|
||||
if (isObject(json)) {
|
||||
if (isObject(json.error)) {
|
||||
this.$throw(
|
||||
json.error.status_code || res.status,
|
||||
json.error.message,
|
||||
@@ -322,9 +325,9 @@ CefSharp.BindObjectAsync(
|
||||
json.status_code || res.status,
|
||||
json.error
|
||||
);
|
||||
} else {
|
||||
this.$throw(res.status, json);
|
||||
}
|
||||
}
|
||||
this.$throw(res.status, json);
|
||||
return json;
|
||||
}));
|
||||
if (isGetRequest) {
|
||||
|
||||
+6
-3
@@ -248,7 +248,10 @@ CefSharp.BindObjectAsync(
|
||||
text: escapeTag(json.success.message)
|
||||
}).show();
|
||||
}
|
||||
} else if (isObject(json.error)) {
|
||||
return json;
|
||||
}
|
||||
if (isObject(json)) {
|
||||
if (isObject(json.error)) {
|
||||
this.$throw(
|
||||
json.error.status_code || res.status,
|
||||
json.error.message,
|
||||
@@ -259,9 +262,9 @@ CefSharp.BindObjectAsync(
|
||||
json.status_code || res.status,
|
||||
json.error
|
||||
);
|
||||
} else {
|
||||
this.$throw(res.status, json);
|
||||
}
|
||||
}
|
||||
this.$throw(res.status, json);
|
||||
return json;
|
||||
}));
|
||||
if (isGetRequest) {
|
||||
|
||||
Reference in New Issue
Block a user