Skip to content

Commit

Permalink
Merge pull request #967 from AtlasOfLivingAustralia/feature/issue961
Browse files Browse the repository at this point in the history
Record Monitor activities as finished #961
  • Loading branch information
temi authored May 30, 2024
2 parents 9573c80 + aa2806f commit df296fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grails-app/services/au/org/ala/ecodata/ParatooService.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -479,12 +479,13 @@ class ParatooService {
formVersion : activityForm.formVersion,
description : "Activity submitted by monitor",
projectId : collection.projectId,
publicationStatus: "published",
publicationStatus: PublicationStatus.PUBLISHED,
siteId : dataSet.siteId,
startDate : dataSet.startDate,
endDate : dataSet.endDate,
plannedStartDate : dataSet.startDate,
plannedEndDate : dataSet.endDate,
progress : Activity.FINISHED,
externalIds : [new ExternalId(idType: ExternalId.IdType.MONITOR_MINTED_COLLECTION_ID, externalId: dataSet.dataSetId)],
userId : userId,
outputs : [[
Expand Down

0 comments on commit df296fc

Please sign in to comment.