Skip to content

Commit

Permalink
[core] fix dataset mapper (#1637)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilou242 authored Nov 6, 2024
1 parent 1c72c27 commit 356ed3a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ default DatasetConfigDTO toBean(DatasetApi api) {
.setRcaExcludedDimensions(api.getRcaExcludedDimensions())
.setTimeColumns(api.getTimeColumns())
;
dto.setId(api.getId());
optional(api.getTimeColumn()).ifPresent(timeColumn -> {
dto.setTimeColumn(timeColumn.getName());
updateTimeSpecOnDataset(dto, timeColumn);
Expand Down

0 comments on commit 356ed3a

Please sign in to comment.