BoyLove: fix error on empty result (#14526)
This commit is contained in:
parent
eed6e861c7
commit
0a5c7513a7
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'BoyLove'
|
||||
pkgNameSuffix = 'zh.boylove'
|
||||
extClass = '.BoyLove'
|
||||
extVersionCode = 7
|
||||
extVersionCode = 8
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ class ChapterDto(
|
|||
private val dateFormat by lazy { SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.ENGLISH) }
|
||||
|
||||
@Serializable
|
||||
class ListPageDto<T>(val lastPage: Boolean, val list: List<T>)
|
||||
class ListPageDto<T>(val lastPage: Boolean, val list: List<T> = emptyList())
|
||||
|
||||
@Serializable
|
||||
class ResultDto<T>(val result: T)
|
||||
|
|
Loading…
Reference in New Issue