School Girl Sashimi

This commit is contained in:
Samidy 2026-04-17 02:21:19 +03:00
parent 5d8ac7a7e2
commit 4f57e42d26

View file

@ -1340,12 +1340,16 @@ class HiFiClient {
force: unauthorized, force: unauthorized,
}); });
res = await fetch(final, { try {
headers: { res = await fetch(final, {
authorization: `Bearer ${token}`, headers: {
}, authorization: `Bearer ${token}`,
signal, },
}); signal,
});
} catch (err: unknown) {
throw new ResponseError(0, err instanceof Error ? err.message : String(err));
}
if (previousResponse && unauthorized && res.status === 401) { if (previousResponse && unauthorized && res.status === 401) {
throw new ResponseError(401, 'Unauthorized: Invalid or expired token'); throw new ResponseError(401, 'Unauthorized: Invalid or expired token');