mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 19:34:35 -05:00
reformat
This commit is contained in:
@@ -73,8 +73,10 @@ object Chapter {
|
||||
val dbChapterList = transaction { ChapterTable.selectAll() }
|
||||
|
||||
dbChapterList.forEach {
|
||||
(it[ChapterTable.chapterIndex] >= chapterList.size
|
||||
|| chapterList[it[ChapterTable.chapterIndex]].url != it[ChapterTable.url])
|
||||
(
|
||||
it[ChapterTable.chapterIndex] >= chapterList.size ||
|
||||
chapterList[it[ChapterTable.chapterIndex]].url != it[ChapterTable.url]
|
||||
)
|
||||
|
||||
ChapterTable.deleteWhere { ChapterTable.id eq it[ChapterTable.id] }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user