We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d18f949 commit df0bd82Copy full SHA for df0bd82
src/datasets/domain/useCases/GetDatasetDownloadCount.ts
@@ -16,7 +16,7 @@ export class GetDatasetDownloadCount implements UseCase<DatasetDownloadCount> {
16
* @param {boolean} [includeMDC(optional)] - Indicates whether to consider include counts from MDC start date or not. The default value is false
17
* @returns {Promise<DatasetDownloadCount>}
18
*/
19
- async execute(datasetId: number, includeMDC?: boolean): Promise<DatasetDownloadCount> {
+ async execute(datasetId: number | string, includeMDC?: boolean): Promise<DatasetDownloadCount> {
20
return await this.datasetsRepository.getDatasetDownloadCount(datasetId, includeMDC)
21
}
22
0 commit comments