diff --git a/src/dataset/infrastructure/repositories/DatasetJSDataverseRepository.ts b/src/dataset/infrastructure/repositories/DatasetJSDataverseRepository.ts index c3773641b..d7288ef72 100644 --- a/src/dataset/infrastructure/repositories/DatasetJSDataverseRepository.ts +++ b/src/dataset/infrastructure/repositories/DatasetJSDataverseRepository.ts @@ -18,6 +18,7 @@ import { import { JSDatasetMapper } from '../mappers/JSDatasetMapper' const includeDeaccessioned = true + export class DatasetJSDataverseRepository implements DatasetRepository { getByPersistentId( persistentId: string, @@ -30,7 +31,11 @@ export class DatasetJSDataverseRepository implements DatasetRepository { Promise.all([ jsDataset, getDatasetSummaryFieldNames.execute(), - getDatasetCitation.execute(jsDataset.id, this.versionToVersionId(version)), + getDatasetCitation.execute( + jsDataset.id, + this.versionToVersionId(version), + includeDeaccessioned + ), getDatasetUserPermissions.execute(jsDataset.id), getDatasetLocks.execute(jsDataset.id), getDatasetFilesTotalDownloadSize.execute(