fix(core): update
This commit is contained in:
@@ -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 =>
|
||||
|
||||
Reference in New Issue
Block a user