Skip to content

Commit

Permalink
Fix anilist dto
Browse files Browse the repository at this point in the history
  • Loading branch information
Secozzi committed Oct 5, 2024
1 parent f7fbc93 commit 3e0b1ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data class ALSearchItem(
val coverImage: ItemCover,
val description: String?,
val format: String,
val status: String = "",
val status: String?,
val startDate: ALFuzzyDate,
val chapters: Long?,
val averageScore: Int?,
Expand All @@ -20,7 +20,7 @@ data class ALSearchItem(
imageUrl = coverImage.large,
description = description,
format = format.replace("_", "-"),
publishingStatus = status,
publishingStatus = status ?: "",
startDateFuzzy = startDate.toEpochMilli(),
totalChapters = chapters ?: 0,
averageScore = averageScore ?: -1,
Expand Down

0 comments on commit 3e0b1ca

Please sign in to comment.