Fix auto login

This commit is contained in:
Natsumi
2026-02-28 17:06:29 +11:00
parent ab0783f64f
commit 5565cfc6f6

View File

@@ -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) {