=> {
>
{
this.hostEarnings = await getHostEarnings()
+ },
+
+ async getHoloFuelDailyStats(): Promise {
+ this.earningsStats = await getHoloFuelDailyStats()
}
}
})
diff --git a/src/types/types.ts b/src/types/types.ts
index 65532d4..822c138 100644
--- a/src/types/types.ts
+++ b/src/types/types.ts
@@ -113,9 +113,8 @@ export interface DailyEarningsData {
}
export interface EarningsData {
- current: number
- previous: number
- daily: DailyEarningsData[]
+ redeemed: number
+ dailies: DailyEarningsData[]
}
export enum ECriteriaType {