Skip to content

Commit

Permalink
fix typo in zen4R function
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed May 27, 2024
1 parent 5371257 commit 55af3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/actions/zen4R_deposit_record.R
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ function(action, entity, config){
#if record is not in community we check pending requests
pending_reqs = ZENODO$getRequests(q = sprintf("status:submitted AND receiver.community:%s AND topic.record:%s", zen_com$id, out$id))
if(length(pending_reqs)==0){
ZENODO$submitToCommunities(record, communities = community)
ZENODO$submitRecordToCommunities(record, communities = community)
#TODO in case the geoflow user is manager for the community, give action option to accept it immediatly
}
}
Expand Down

0 comments on commit 55af3b8

Please sign in to comment.