mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 03:14:40 -05:00
Update Local Source to latest Tachiyomi (#637)
* Update Local Source to latest Tachiyomi * More formatting * Enable zip64
This commit is contained in:
@@ -11,7 +11,6 @@ import org.jetbrains.exposed.sql.update
|
||||
import suwayomi.tachidesk.graphql.types.ChapterMetaType
|
||||
import suwayomi.tachidesk.graphql.types.ChapterType
|
||||
import suwayomi.tachidesk.manga.impl.Chapter
|
||||
import suwayomi.tachidesk.manga.impl.util.lang.awaitSingle
|
||||
import suwayomi.tachidesk.manga.impl.util.source.GetCatalogueSource.getCatalogueSourceOrNull
|
||||
import suwayomi.tachidesk.manga.model.table.ChapterMetaTable
|
||||
import suwayomi.tachidesk.manga.model.table.ChapterTable
|
||||
@@ -213,12 +212,12 @@ class ChapterMutation {
|
||||
val source = getCatalogueSourceOrNull(manga[MangaTable.sourceReference])!!
|
||||
|
||||
return future {
|
||||
source.fetchPageList(
|
||||
source.getPageList(
|
||||
SChapter.create().apply {
|
||||
url = chapter[ChapterTable.url]
|
||||
name = chapter[ChapterTable.name]
|
||||
}
|
||||
).awaitSingle()
|
||||
)
|
||||
}.thenApply { pageList ->
|
||||
transaction {
|
||||
PageTable.deleteWhere { PageTable.chapter eq chapterId }
|
||||
|
||||
Reference in New Issue
Block a user