Fix legacy backups

(cherry picked from commit ded58541f5903c109b70799683829e26018d2af6)
(cherry picked from commit 9f9f9872eb32b12e9d2e31fe427cddd5542642b2)
This commit is contained in:
Jobobby04 2021-02-07 21:54:26 -05:00
parent 7d81d812bc
commit 56ead63798

View File

@ -21,8 +21,8 @@ class ChapterBackupPutResolver : PutResolver<Chapter>() {
fun mapToUpdateQuery(chapter: Chapter) = UpdateQuery.builder()
.table(ChapterTable.TABLE)
.where("${ChapterTable.COL_ID} = ?")
.whereArgs(chapter.id)
.where("${ChapterTable.COL_URL} = ?")
.whereArgs(chapter.url)
.build()
fun mapToContentValues(chapter: Chapter) =