src/fpd/enrichment.js
Function enrichFPD
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const enrichFPD = hook('sync', (fpd) => {
const promArr = [fpd, getSUA().catch(() => null), tryToGetCdepLabel().catch(() => null)];
return GreedyPromise.all(promArr)
.then(([ortb2, sua, cdep]) => {