Fix legacy backups

(cherry picked from commit ded58541f5)
(cherry picked from commit 9f9f9872eb)
This commit is contained in:
Jobobby04
2021-02-07 21:54:26 -05:00
parent 7d81d812bc
commit 56ead63798
@@ -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) =