Skip to content

Commit

Permalink
Prevent calling spatial with null fid #1064
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Feb 7, 2025
1 parent cfeb9a9 commit db9c95e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class SpatialController {
retVariable = ["error": "layerId must be supplied"]
}
else {
List<String> intersectWith = params.intersectWith?.split(",") ?: []
List<String> intersectWith = params.intersectWith ? params.intersectWith.split(",") : []
retVariable = spatialService.features(params.layerId, intersectWith)
}

Expand Down

0 comments on commit db9c95e

Please sign in to comment.