mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-27 02:33:48 +02:00
notifications v2 table
This commit is contained in:
@@ -121,6 +121,13 @@ export function request(endpoint, options) {
|
||||
if (AppDebug.debugWebRequests) {
|
||||
console.log(init, 'parsed data', response.data);
|
||||
}
|
||||
if (response.data.error) {
|
||||
$throw(
|
||||
response.data.error.status_code || 0,
|
||||
response.data.error.message,
|
||||
endpoint
|
||||
);
|
||||
}
|
||||
return response;
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
|
||||
Reference in New Issue
Block a user