Skip to content

Commit f0d3fb6

Browse files
committed
fix: useCases.md formatting
1 parent 97bc082 commit f0d3fb6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/useCases.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,11 @@ const datasetId = 'doi:10.77777/FK2/AAAAAA'
444444
const oldVersion = '1.0'
445445
const newVersion = '2.0'
446446

447-
getDatasetVersionDiff.execute(datasetId, oldVersion, newVersion).then((versionDiff: DatasetVersionDiff) => {
448-
/* ... */
449-
})
447+
lgetDatasetVersionDiff
448+
.execute(datasetId, oldVersion, newVersion)
449+
.then((versionDiff: DatasetVersionDiff) => {
450+
/* ... */
451+
})
450452

451453
/* ... */
452454
```
@@ -457,7 +459,6 @@ The `datasetId` parameter can be a string, for persistent identifiers, or a numb
457459

458460
The `oldVersion` and `newVersion` parameters specify the versions of the dataset to compare.
459461

460-
461462
#### List All Datasets
462463

463464
Returns an instance of [DatasetPreviewSubset](../src/datasets/domain/models/DatasetPreviewSubset.ts) that contains reduced information for each dataset that the calling user can access in the installation.

0 commit comments

Comments
 (0)