Skip to content

Commit df0bd82

Browse files
Update src/datasets/domain/useCases/GetDatasetDownloadCount.ts
Co-authored-by: Ellen Kraffmiller <[email protected]>
1 parent d18f949 commit df0bd82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datasets/domain/useCases/GetDatasetDownloadCount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class GetDatasetDownloadCount implements UseCase<DatasetDownloadCount> {
1616
* @param {boolean} [includeMDC(optional)] - Indicates whether to consider include counts from MDC start date or not. The default value is false
1717
* @returns {Promise<DatasetDownloadCount>}
1818
*/
19-
async execute(datasetId: number, includeMDC?: boolean): Promise<DatasetDownloadCount> {
19+
async execute(datasetId: number | string, includeMDC?: boolean): Promise<DatasetDownloadCount> {
2020
return await this.datasetsRepository.getDatasetDownloadCount(datasetId, includeMDC)
2121
}
2222
}

0 commit comments

Comments
 (0)