make it compile

This commit is contained in:
Aria Moradi
2021-08-15 03:16:13 +04:30
parent 5474eddf84
commit d3a6662c60
@@ -97,7 +97,7 @@ object MangaController {
fun chapterList(ctx: Context) {
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) })
}