apps/legacy-api/src/controllers/stats/LegacyStatsProvider.ts
Function getStats
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async getStats (jsonPath?: string): Promise<LegacyStats | any> {
const stats: StatsData = await this.api.stats.get()
// Fire async requests at the same time and await results
const [