mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 08:32:25 +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 ->
|
.map { er ->
|
||||||
val epr = dslRO.selectFrom(ep).where(ep.ID.eq(er.id)).fetch()
|
val epr = dslRO.selectFrom(ep).where(ep.ID.eq(er.id)).fetch()
|
||||||
HistoricalEventDto(
|
HistoricalEventDto(
|
||||||
|
id = er.id,
|
||||||
type = er.type,
|
type = er.type,
|
||||||
timestamp = er.timestamp,
|
timestamp = er.timestamp,
|
||||||
bookId = er.bookId,
|
bookId = er.bookId,
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ package org.gotson.komga.interfaces.api.rest.dto
|
||||||
import java.time.LocalDateTime
|
import java.time.LocalDateTime
|
||||||
|
|
||||||
data class HistoricalEventDto(
|
data class HistoricalEventDto(
|
||||||
|
val id: String,
|
||||||
val type: String,
|
val type: String,
|
||||||
val timestamp: LocalDateTime,
|
val timestamp: LocalDateTime,
|
||||||
val bookId: String?,
|
val bookId: String?,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue