fixed an id

This commit is contained in:
Michele Artini 2024-10-21 09:01:26 +02:00
parent 44a7fdbd89
commit 78cd3ddca2
1 changed files with 1 additions and 1 deletions

View File

@ -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) {