baublet/w8mngr

View on GitHub
api/helpers/algoliaService.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function algoliaService has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function algoliaService(): () => AlgoliaService {
  if (config.get("SUPPRESS_ALGOLIA") === "true") {
    log("warn", "Algolia indexing manually suppressed");
    return () => stubAlgoliaService;
  }
Severity: Minor
Found in api/helpers/algoliaService.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status