From 55af3b8f1645abce73c314c25a253a099e36b0c5 Mon Sep 17 00:00:00 2001 From: eblondel Date: Mon, 27 May 2024 11:42:21 +0200 Subject: [PATCH] fix typo in zen4R function --- inst/actions/zen4R_deposit_record.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/actions/zen4R_deposit_record.R b/inst/actions/zen4R_deposit_record.R index c86b4ce..53500ca 100644 --- a/inst/actions/zen4R_deposit_record.R +++ b/inst/actions/zen4R_deposit_record.R @@ -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 } }