Skip to content

Commit

Permalink
Record Monitor activities as finished #961
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed May 24, 2024
1 parent be58424 commit aa2806f
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 aa2806f

Please sign in to comment.