Skip to content

Commit

Permalink
#57 fix code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Sep 30, 2021
1 parent 3760761 commit 68f46b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ZenodoManager.R
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ ZenodoManager <- R6Class("ZenodoManager",
if(zenReq$getStatus() %in% c(200,201)){
out <- zenReq$getResponse()
out_id <- unlist(strsplit(out$links$latest_draft,"depositions/"))[[2]]
out <- ZENODO$getDepositionById(out_id)
out <- self$getDepositionById(out_id)
self$INFO(sprintf("Successful new version record created for concept DOI '%s'", record$getConceptDOI()))
record$id <- out$id
record$metadata$doi <- NULL
Expand Down

0 comments on commit 68f46b6

Please sign in to comment.