mirror of
https://github.com/gotson/komga.git
synced 2025-12-18 22:43:42 +01:00
fix: handle both cid and comicId for Mylar's series.json
Closes: #890 Closes: #889
This commit is contained in:
parent
6581ffd4cd
commit
0bbe5438d0
2 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package org.gotson.komga.infrastructure.metadata.mylar.dto
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonAlias
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
||||
import com.fasterxml.jackson.annotation.JsonProperty
|
||||
|
||||
|
|
@ -13,7 +14,7 @@ data class MylarMetadata(
|
|||
|
||||
val name: String,
|
||||
|
||||
@field:JsonProperty("cid")
|
||||
@field:JsonAlias("cid")
|
||||
val comicId: String,
|
||||
|
||||
val year: Int,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
"publisher": "IDW Publishing",
|
||||
"imprint": null,
|
||||
"name": "Usagi Yojimbo",
|
||||
"cid": 119731,
|
||||
"comicId": 119731,
|
||||
"year": 2019,
|
||||
"description_text": null,
|
||||
"description_formatted": null,
|
||||
|
|
|
|||
Loading…
Reference in a new issue