diff --git a/server/src/main/kotlin/suwayomi/tachidesk/manga/controller/BackupController.kt b/server/src/main/kotlin/suwayomi/tachidesk/manga/controller/BackupController.kt index 5c8a3d0b6..52e7981d8 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/manga/controller/BackupController.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/manga/controller/BackupController.kt @@ -135,8 +135,6 @@ object BackupController { summary("Validate a backup") description("Reports missing sources and trackers, expects a Tachiyomi protobuf backup in the body") } - body("") { - } }, behaviorOf = { ctx -> ctx.future( diff --git a/server/src/main/kotlin/suwayomi/tachidesk/manga/controller/SourceController.kt b/server/src/main/kotlin/suwayomi/tachidesk/manga/controller/SourceController.kt index 77d7a5fe2..2a5ea2f0d 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/manga/controller/SourceController.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/manga/controller/SourceController.kt @@ -19,12 +19,12 @@ import suwayomi.tachidesk.manga.impl.Search.FilterChange import suwayomi.tachidesk.manga.impl.Source import suwayomi.tachidesk.manga.impl.Source.SourcePreferenceChange import suwayomi.tachidesk.manga.model.dataclass.PagedMangaListDataClass +import suwayomi.tachidesk.manga.model.dataclass.SourceDataClass import suwayomi.tachidesk.server.JavalinSetup.future import suwayomi.tachidesk.server.util.handler import suwayomi.tachidesk.server.util.pathParam import suwayomi.tachidesk.server.util.queryParam import suwayomi.tachidesk.server.util.withOperation -import javax.sound.sampled.SourceDataLine object SourceController { /** list of sources */ @@ -39,7 +39,7 @@ object SourceController { ctx.json(Source.getSourceList()) }, withResults = { - json>(HttpCode.OK) + json>(HttpCode.OK) } ) @@ -56,7 +56,7 @@ object SourceController { ctx.json(Source.getSource(sourceId)!!) }, withResults = { - json(HttpCode.OK) + json(HttpCode.OK) httpCode(HttpCode.NOT_FOUND) } )