DeFiCh/jellyfish

View on GitHub
apps/legacy-api/src/controllers/stats/LegacyStatsProvider.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function getStats has 39 lines of code (exceeds 25 allowed). Consider refactoring.
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 [
Severity: Minor
Found in apps/legacy-api/src/controllers/stats/LegacyStatsProvider.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status