Almost there
This commit is contained in:
2
webapp/dist/main.js
vendored
2
webapp/dist/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -51,7 +51,7 @@ class ClimateChart {
|
|||||||
if (payload.snapshots.length < 0) {
|
if (payload.snapshots.length < 0) {
|
||||||
throw new Error("Bad response - no snapshots found!");
|
throw new Error("Bad response - no snapshots found!");
|
||||||
}
|
}
|
||||||
return await data.json();
|
return payload;
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
throw e;
|
throw e;
|
||||||
|
|||||||
Reference in New Issue
Block a user