Skip to content

Commit

Permalink
fix datasetVersionDiff mapping logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ekraffmiller committed Nov 18, 2024
1 parent de3d0ee commit c0d45f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/dataset/domain/models/Dataset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,8 @@ export class Dataset {
this.requestedVersion,
undefined,
this.nextMajorVersionNumber,
this.nextMinorVersionNumber
this.nextMinorVersionNumber,
this.requiresMajorVersionUpdate
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export class DatasetJSDataverseRepository implements DatasetRepository {
requestedVersion,
undefined,
datasetDetails.latestPublishedVersionMajorNumber,
datasetDetails.latestPublishedVersionMinorNumber
datasetDetails.latestPublishedVersionMinorNumber,
datasetDetails.datasetVersionDiff
)
})
.catch((error: ReadError) => {
Expand Down

0 comments on commit c0d45f6

Please sign in to comment.