mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-02 02:42:35 -05:00
fixed wrong mapping
This commit is contained in:
parent
8d99652e34
commit
c7fe69353b
2 changed files with 5 additions and 5 deletions
|
@ -27,8 +27,8 @@ object MangaMapper {
|
|||
updateStrategy: UpdateStrategy,
|
||||
calculateInterval: Long,
|
||||
lastModifiedAt: Long,
|
||||
lastModifiedAtLocal: Long?,
|
||||
favoriteModifiedAt: Long?,
|
||||
lastModifiedAtLocal: Long?,
|
||||
): Manga = Manga(
|
||||
id = id,
|
||||
source = source,
|
||||
|
@ -51,8 +51,8 @@ object MangaMapper {
|
|||
updateStrategy = updateStrategy,
|
||||
initialized = initialized,
|
||||
lastModifiedAt = lastModifiedAt,
|
||||
lastModifiedAtLocal = lastModifiedAtLocal,
|
||||
favoriteModifiedAt = favoriteModifiedAt,
|
||||
lastModifiedAtLocal = lastModifiedAtLocal,
|
||||
)
|
||||
|
||||
fun mapLibraryManga(
|
||||
|
@ -77,8 +77,8 @@ object MangaMapper {
|
|||
updateStrategy: UpdateStrategy,
|
||||
calculateInterval: Long,
|
||||
lastModifiedAt: Long,
|
||||
lastModifiedAtLocal: Long?,
|
||||
favoriteModifiedAt: Long?,
|
||||
lastModifiedAtLocal: Long?,
|
||||
totalCount: Long,
|
||||
readCount: Double,
|
||||
latestUpload: Long,
|
||||
|
@ -109,8 +109,8 @@ object MangaMapper {
|
|||
updateStrategy,
|
||||
calculateInterval,
|
||||
lastModifiedAt,
|
||||
lastModifiedAtLocal,
|
||||
favoriteModifiedAt,
|
||||
lastModifiedAtLocal,
|
||||
),
|
||||
category = category,
|
||||
totalChapters = totalCount,
|
||||
|
|
|
@ -105,8 +105,8 @@ class MangaRepositoryImpl(
|
|||
chapterFlags = manga.chapterFlags,
|
||||
coverLastModified = manga.coverLastModified,
|
||||
dateAdded = manga.dateAdded,
|
||||
lastModifiedAtLocal = manga.lastModifiedAtLocal,
|
||||
updateStrategy = manga.updateStrategy,
|
||||
lastModifiedAtLocal = manga.lastModifiedAtLocal,
|
||||
)
|
||||
mangasQueries.selectLastInsertedRowId()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue