Skip to content

Commit

Permalink
Fixed code review issue #942
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed May 30, 2024
1 parent eb0bf90 commit f6023f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ class ParatooService {
// The project/s for the site will be specified by a subsequent call to /projects
siteData.projects = []

Site site = Site.findByExternalId(ExternalId.IdType.MONITOR_PLOT_SELECTION_GUID, siteData.externalId)
Site site = Site.findByExternalId(ExternalId.IdType.MONITOR_PLOT_SELECTION_GUID, siteData.externalIds[0].externalId)
Map result
if (site) {
result = siteService.update(siteData, site.siteId)
Expand Down

0 comments on commit f6023f6

Please sign in to comment.