Skip to content

Commit

Permalink
[TM-921] Land use types and land systems are effectively duplicate fi…
Browse files Browse the repository at this point in the history
…elds, so just pull from whichever was used for this form.
  • Loading branch information
roguenet committed May 22, 2024
1 parent 733e222 commit 9501fdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __invoke(Request $request): EntityWithSchemaResource
'project_status' => null,
'name' => $projectPitch->project_name,
'boundary_geojson' => $projectPitch->proj_boundary,
'land_use_types' => $projectPitch->land_use_types,
'land_use_types' => $projectPitch->land_use_types ?? $projectPitch->land_systems,
'restoration_strategy' => $projectPitch->restoration_strategy,
'country' => $projectPitch->project_country,
'continent' => null,
Expand Down

0 comments on commit 9501fdf

Please sign in to comment.