Vizzuality/landgriffon

View on GitHub
client/src/containers/interventions/utils.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function parseInterventionFormDataToDto has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function parseInterventionFormDataToDto(
  interventionFormData: InterventionFormData,
): InterventionDto {
  // removing some fields which API doesn't support
  delete interventionFormData.cityAddressCoordinates;
Severity: Major
Found in client/src/containers/interventions/utils.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status