Showing 1 of 1 total issue
Function calculatePopulation
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var calculateLocationPopulationFromChildren = async function calculatePopulation(location) {
let areaPopulation = {
id: location.id,
name: location.name,
parentLocationId: location.parent,
- Create a ticketCreate a ticket