Skip to content

Commit ceb8a33

Browse files
committed
chore: update doc
1 parent 21e4e5e commit ceb8a33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/useCases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ _See [use case](../src/datasets/domain/useCases/PublishDataset.ts) implementatio
480480
The above example publishes the dataset with the specified identifier and performs a minor version update. If the response
481481
is successful, the use case does not return the dataset object, but the HTTP status code `200`. Otherwise, it throws an error.\
482482
If you want to perform a major version update, you must set the `versionUpdateType` parameter to `VersionUpdateType.MAJOR`.\
483-
Superusers can pass `VersionUpdateType.UPDATE_CURRENT` to update metadata without changing the version number. This will overwrite the latest published version and therefore will only work for a dataset that has been published at least once.\
483+
Superusers can pass `VersionUpdateType.UPDATE_CURRENT` to update metadata without changing the version number. This will overwrite the latest published version and therefore will only work for a dataset that has been published at least once. \*Note that this will only work also if there were no file changes in the update.\
484484
The `datasetId` parameter can be a string, for persistent identifiers, or a number, for numeric identifiers.
485485

486486
The `versionUpdateType` parameter can be a [VersionUpdateType](../src/datasets/domain/models/VersionUpdateType.ts) enum value, which can be one of the following:

0 commit comments

Comments
 (0)