lint some files

This commit is contained in:
Aria Moradi 2021-03-26 12:15:00 +04:30
parent 84b0c26450
commit 8666cbf8bc
2 changed files with 0 additions and 2 deletions

View File

@ -9,7 +9,6 @@ package ir.armor.tachidesk.database.table
import org.jetbrains.exposed.dao.id.IntIdTable
object CategoryMangaTable : IntIdTable() {
val category = reference("category", CategoryTable)
val manga = reference("manga", MangaTable)

View File

@ -18,7 +18,6 @@ import org.jetbrains.exposed.sql.select
import org.jetbrains.exposed.sql.transactions.transaction
import org.jetbrains.exposed.sql.update
fun addMangaToLibrary(mangaId: Int) {
val manga = getManga(mangaId)
if (!manga.inLibrary) {