maestro-server/client-app

View on GitHub
src/resources/services/fetchEntity.js

Summary

Maintainability
A
1 hr
Test Coverage

Function FetcherData has 61 lines of code (exceeds 40 allowed). Consider refactoring.
Open

const FetcherData = Entity => (opts = {}, headers = {}) => {
  const tenant = tenantMananger.get();
  const k = _.get(Entity, "ename");
  const cache_key = _.get(opts, "cache_key", "d");
  const { path } = opts;
Severity: Major
Found in src/resources/services/fetchEntity.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status