mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Fix auto login
This commit is contained in:
@@ -146,11 +146,7 @@ export function request(endpoint, options) {
|
|||||||
// ignore expected API errors
|
// ignore expected API errors
|
||||||
$throw(response.status, response.data || '', endpoint);
|
$throw(response.status, response.data || '', endpoint);
|
||||||
}
|
}
|
||||||
$throw(
|
return response;
|
||||||
response.status,
|
|
||||||
response.data || response.statusText,
|
|
||||||
endpoint
|
|
||||||
);
|
|
||||||
})
|
})
|
||||||
.then(({ data, status }) => {
|
.then(({ data, status }) => {
|
||||||
if (status === 200) {
|
if (status === 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user