mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 03:14:40 -05:00
Improve source handling, fix errors with uninitialized mangas in broken sources (#319)
This commit is contained in:
@@ -29,7 +29,7 @@ object SourceController {
|
||||
/** fetch source with id `sourceId` */
|
||||
fun retrieve(ctx: Context) {
|
||||
val sourceId = ctx.pathParam("sourceId").toLong()
|
||||
ctx.json(Source.getSource(sourceId))
|
||||
ctx.json(Source.getSource(sourceId)!!)
|
||||
}
|
||||
|
||||
/** popular mangas from source with id `sourceId` */
|
||||
|
||||
Reference in New Issue
Block a user