[fix] no return on fetch error handle

This commit is contained in:
kwaroran
2023-07-21 01:36:55 +09:00
parent 27e946fc6a
commit e743371771

View File

@@ -670,6 +670,7 @@ export async function downloadRisuHub(id:string) {
}) })
if(res.status !== 200){ if(res.status !== 200){
alertError(await res.text()) alertError(await res.text())
return
} }
const result = await res.json() const result = await res.json()