File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/edu/harvard/iq/dataverse Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -586,7 +586,7 @@ public void setRenderFileMessages(boolean renderFileMessages) {
586586
587587 public String getSignedUrlForRAHistoryCsv () {
588588 //Including /v1 is required for the signature to validate
589- String apiPath = "/api/v1/datasets/" + dataset .getId () + "/files/permissions /history" ;
589+ String apiPath = "/api/v1/datasets/" + dataset .getId () + "/files/assignments /history" ;
590590
591591 try {
592592 // Get the application URL from the system config
Original file line number Diff line number Diff line change @@ -701,10 +701,10 @@ public String getSignedUrlForRAHistoryCsv() {
701701 //Including /v1 in these urls is required for the signature to validate
702702 if (dvObject instanceof Dataverse dv ) {
703703 // For Dataverses, use the dataverses API endpoint with the alias
704- apiPath = "/api/v1/dataverses/" + dv .getAlias () + "/permissions /history" ;
704+ apiPath = "/api/v1/dataverses/" + dv .getAlias () + "/assignments /history" ;
705705 } else if (dvObject instanceof Dataset ) {
706706 // For Datasets, use the datasets API endpoint with the ID
707- apiPath = "/api/v1/datasets/" + dvObject .getId () + "/permissions /history" ;
707+ apiPath = "/api/v1/datasets/" + dvObject .getId () + "/assignments /history" ;
708708 } else {
709709 // For other types (like DataFile), return null or a default path
710710 return null ;
You can’t perform that action at this time.
0 commit comments