Bug fix
This commit is contained in:
@@ -23,6 +23,7 @@ export class StatsService extends BaseService {
|
||||
this.serviceCacheApi.delete(CacheApiKey.StatsByAircraft);
|
||||
this.serviceCacheApi.delete(CacheApiKey.StatsByJumpType);
|
||||
this.serviceCacheApi.delete(CacheApiKey.StatsByGear);
|
||||
this.serviceCacheApi.delete(CacheApiKey.StatsByYear);
|
||||
this.serviceCacheApi.delete(CacheApiKey.StatsOfLastYear);
|
||||
this.serviceCacheApi.delete(CacheApiKey.StatsOfLastMonth);
|
||||
}
|
||||
@@ -96,7 +97,7 @@ export class StatsService extends BaseService {
|
||||
})
|
||||
);
|
||||
|
||||
return this.serviceCacheApi.get<Array<StatsByYearResp>>(CacheApiKey.StatsByGear, callToApi);
|
||||
return this.serviceCacheApi.get<Array<StatsByYearResp>>(CacheApiKey.StatsByYear, callToApi);
|
||||
}
|
||||
|
||||
public getStatsOfLastYear(): Observable<StatsForLastYearResp> {
|
||||
|
||||
Reference in New Issue
Block a user