From 78cd3ddca237fad4ff926a0f75a7644c18417fd9 Mon Sep 17 00:00:00 2001 From: "michele.artini" Date: Mon, 21 Oct 2024 09:01:26 +0200 Subject: [PATCH] fixed an id --- .../dnetlib/openaire/community/SubCommunityApiController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dnet-exporter-api/src/main/java/eu/dnetlib/openaire/community/SubCommunityApiController.java b/apps/dnet-exporter-api/src/main/java/eu/dnetlib/openaire/community/SubCommunityApiController.java index 3e22f4a8..dc2b068a 100644 --- a/apps/dnet-exporter-api/src/main/java/eu/dnetlib/openaire/community/SubCommunityApiController.java +++ b/apps/dnet-exporter-api/src/main/java/eu/dnetlib/openaire/community/SubCommunityApiController.java @@ -670,7 +670,7 @@ public class SubCommunityApiController extends AbstractExporterController { try { return deposit == null ? communityService.getCommunityDatasources(subCommunityId) - : communityService.getCommunityDatasourcesWithDeposit(id, deposit); + : communityService.getCommunityDatasourcesWithDeposit(subCommunityId, deposit); } catch (final ResourceNotFoundException e) { throw e; } catch (final Throwable e) {