mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
bugfix
This commit is contained in:
@@ -295,9 +295,7 @@ CefSharp.BindObjectAsync(
|
|||||||
}
|
}
|
||||||
this.$throw(res.status);
|
this.$throw(res.status);
|
||||||
}).then((json) => {
|
}).then((json) => {
|
||||||
if (isObject(json) === false) {
|
if (res.ok) {
|
||||||
this.$throw(0, 'Invalid JSON response');
|
|
||||||
} else if (res.ok) {
|
|
||||||
if (isObject(json.success)) {
|
if (isObject(json.success)) {
|
||||||
new Noty({
|
new Noty({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
|
|||||||
@@ -241,9 +241,7 @@ CefSharp.BindObjectAsync(
|
|||||||
}
|
}
|
||||||
this.$throw(res.status);
|
this.$throw(res.status);
|
||||||
}).then((json) => {
|
}).then((json) => {
|
||||||
if (isObject(json) === false) {
|
if (res.ok) {
|
||||||
this.$throw(0, 'Invalid JSON response');
|
|
||||||
} else if (res.ok) {
|
|
||||||
if (isObject(json.success)) {
|
if (isObject(json.success)) {
|
||||||
new Noty({
|
new Noty({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
|
|||||||
Reference in New Issue
Block a user