Skip to content

Commit f6cc85f

Browse files
committed
return updated version
1 parent f44c0f1 commit f6cc85f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/edu/harvard/iq/dataverse/engine/command/impl/AbstractSubmitToArchiveCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public DatasetVersion execute(CommandContext ctxt) throws CommandException {
9898
Map<String, JsonLDTerm> terms = getJsonLDTerms(oreMap);
9999
performArchivingAndPersist(ctxt, version, dataCiteXml, ore, terms, token, requestedSettings);
100100
}
101+
return ctxt.datasetVersion().find(version.getId());
101102
}
102103

103104
// While we have a transaction context, get the terms needed to create the baginfo file

0 commit comments

Comments
 (0)