22889 #4

Merged
fabio.sinibaldi merged 8 commits from 22889 into master 2023-03-28 12:35:25 +02:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 5b969ac2cb - Show all commits

View File

@ -129,8 +129,9 @@ public class Zenodo {
}
public FileDeposition uploadFile(ZenodoDeposition deposition, String toUploadName,File toUpload) throws ZenodoException {
final ZenodoDeposition dep=(deposition.getSubmitted())?newVersion(deposition.getId()):deposition;
log.info("Pushing File {} to Deposition {}",toUploadName,dep);
Callable<Response> call=new Callable<Response>() {
@Override