Frontend stuff
This commit is contained in:
@@ -32,6 +32,9 @@ let _api = {
|
||||
if (typeof result === 'number') {
|
||||
return result;
|
||||
}
|
||||
if (typeof result === 'boolean') {
|
||||
return result;
|
||||
}
|
||||
console.error('Invalid JSON response');
|
||||
_testPageFail('Invalid JSON response');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user