From 8666cbf8bc4c57272d34a9f528928ddb5887f411 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Fri, 26 Mar 2021 12:15:00 +0430 Subject: [PATCH] lint some files --- .../ir/armor/tachidesk/database/table/CategoryMangaTable.kt | 1 - server/src/main/kotlin/ir/armor/tachidesk/util/Library.kt | 1 - 2 files changed, 2 deletions(-) diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/table/CategoryMangaTable.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/table/CategoryMangaTable.kt index 1e1e9c9..07c23a3 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/table/CategoryMangaTable.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/table/CategoryMangaTable.kt @@ -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) diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/Library.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/Library.kt index e2e4a72..70d5924 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Library.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Library.kt @@ -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) {