mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 00:25:08 +01:00
fix(api): add id field in HistoricalEventDto
This commit is contained in:
parent
730b093a5f
commit
5e3ca4d571
2 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ class HistoricalEventDtoDao(
|
|||
.map { er ->
|
||||
val epr = dslRO.selectFrom(ep).where(ep.ID.eq(er.id)).fetch()
|
||||
HistoricalEventDto(
|
||||
id = er.id,
|
||||
type = er.type,
|
||||
timestamp = er.timestamp,
|
||||
bookId = er.bookId,
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package org.gotson.komga.interfaces.api.rest.dto
|
|||
import java.time.LocalDateTime
|
||||
|
||||
data class HistoricalEventDto(
|
||||
val id: String,
|
||||
val type: String,
|
||||
val timestamp: LocalDateTime,
|
||||
val bookId: String?,
|
||||
|
|
|
|||
Loading…
Reference in a new issue