Skip to content

Commit 0b9a1fe

Browse files
authored
feat(JAQPOT-477): map result types (#141)
1 parent 616de42 commit 0b9a1fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/kotlin/org/jaqpot/api/mapper/DatasetMapper.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ fun DatasetDto.toEntity(model: Model, userId: String, entryType: DatasetEntryTyp
3939
type = this.type.toEntity(),
4040
status = DatasetStatus.CREATED,
4141
input = this.input,
42+
resultTypes = this.resultTypes?.toEntity(),
4243
failureReason = this.failureReason
4344
)
4445
}

0 commit comments

Comments
 (0)