Skip to content

Commit 55af3b8

Browse files
committed
fix typo in zen4R function
1 parent 5371257 commit 55af3b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/actions/zen4R_deposit_record.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ function(action, entity, config){
513513
#if record is not in community we check pending requests
514514
pending_reqs = ZENODO$getRequests(q = sprintf("status:submitted AND receiver.community:%s AND topic.record:%s", zen_com$id, out$id))
515515
if(length(pending_reqs)==0){
516-
ZENODO$submitToCommunities(record, communities = community)
516+
ZENODO$submitRecordToCommunities(record, communities = community)
517517
#TODO in case the geoflow user is manager for the community, give action option to accept it immediatly
518518
}
519519
}

0 commit comments

Comments
 (0)