mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 11:24:35 -05:00
make it compile
This commit is contained in:
@@ -97,7 +97,7 @@ object MangaController {
|
|||||||
fun chapterList(ctx: Context) {
|
fun chapterList(ctx: Context) {
|
||||||
val mangaId = ctx.pathParam("mangaId").toInt()
|
val mangaId = ctx.pathParam("mangaId").toInt()
|
||||||
|
|
||||||
val onlineFetch = ctx.queryParam("onlineFetch")?.toBoolean()
|
val onlineFetch = ctx.queryParam("onlineFetch", "false").toBoolean()
|
||||||
|
|
||||||
ctx.json(future { Chapter.getChapterList(mangaId, onlineFetch) })
|
ctx.json(future { Chapter.getChapterList(mangaId, onlineFetch) })
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user