Skip to content

Commit

Permalink
enable DOI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Jul 27, 2021
1 parent c833eb9 commit d549f72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/edu/harvard/iq/dataverse/api/Datasets.java
Original file line number Diff line number Diff line change
Expand Up @@ -1271,11 +1271,11 @@ public Response publishMigratedDataset(String jsonldBody, @PathParam("id") Strin
if (prePubWf.isPresent()) {
// Start the workflow, the workflow will call FinalizeDatasetPublication later
wfService.start(prePubWf.get(),
new WorkflowContext(createDataverseRequest(user), ds, TriggerType.PrePublishDataset, true),
new WorkflowContext(createDataverseRequest(user), ds, TriggerType.PrePublishDataset, false),
false);
} else {
FinalizeDatasetPublicationCommand cmd = new FinalizeDatasetPublicationCommand(ds,
createDataverseRequest(user), true);
createDataverseRequest(user), false);
ds = commandEngine.submit(cmd);
}
} catch (CommandException ex) {
Expand Down

0 comments on commit d549f72

Please sign in to comment.