fix(core): update

This commit is contained in:
2023-08-01 13:02:04 +02:00
parent 5abf3bc0aa
commit fd9211393b
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ export class FeodoTracker {
throw new Error(`HTTP error! status: ${response.status}`);
}
const data: IFeodoTrackerData[] = await response.json();
const data: IFeodoTrackerData[] = await response.json() as IFeodoTrackerData[];
// Ensure the data is an array and has the expected structure
if (!Array.isArray(data) || !data.every(item =>