change res.body.text() to res.text()

pull/222/head
Dario Piotrowicz 2023-02-08 11:00:22 +00:00
rodzic 1d9775b3aa
commit e1429629c3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -52,7 +52,7 @@ export const userLoader = loader$<
if (res.status === 302) {
throw redirect(302, res.headers.get('location') || '')
} else {
throw text(res.status, await res.body.text())
throw text(res.status, await res.text())
}
}