src/resources/services/fetchEntity.js
Function FetcherData
has 61 lines of code (exceeds 40 allowed). Consider refactoring. Open
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;