fix(tracker-anilist): format property in ALSearchItem nullable (#890)
This commit is contained in:
parent
6562ab0018
commit
8be38ce077
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ data class ALSearchItem(
|
|||
val title: ALItemTitle,
|
||||
val coverImage: ItemCover,
|
||||
val description: String?,
|
||||
val format: String,
|
||||
val format: String?,
|
||||
val status: String?,
|
||||
val startDate: ALFuzzyDate,
|
||||
val chapters: Long?,
|
||||
|
|
@ -20,7 +20,7 @@ data class ALSearchItem(
|
|||
title = title.userPreferred,
|
||||
imageUrl = coverImage.large,
|
||||
description = description,
|
||||
format = format.replace("_", "-"),
|
||||
format = format?.replace("_", "-") ?: "",
|
||||
publishingStatus = status ?: "",
|
||||
startDateFuzzy = startDate.toEpochMilli(),
|
||||
totalChapters = chapters ?: 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue