mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-02 21:08:12 +00:00
feat(scenery): added the scenery top records list mode
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ export class HttpClient {
|
||||
const data = await fetch(absoluteURL);
|
||||
|
||||
if (!data.ok) {
|
||||
throw new Error(`Cannot fetch: ${absoluteURL}`);
|
||||
throw new Error(`Cannot fetch ${absoluteURL}: ${data.statusText}`);
|
||||
}
|
||||
|
||||
return data.json();
|
||||
|
||||
Reference in New Issue
Block a user