Bugfixes (#2458)
Co-authored-by: Andre Smith <Hobogrammer@users.noreply.github.com>
This commit is contained in:
parent
565a93f2d2
commit
915bf13a7c
28 changed files with 606 additions and 342 deletions
|
@ -231,6 +231,7 @@ public class ReaderController : BaseApiController
|
|||
var mangaFile = chapter.Files.First();
|
||||
|
||||
var series = await _unitOfWork.SeriesRepository.GetSeriesDtoByIdAsync(dto.SeriesId, User.GetUserId());
|
||||
if (series == null) return Unauthorized();
|
||||
|
||||
var info = new ChapterInfoDto()
|
||||
{
|
||||
|
@ -278,6 +279,7 @@ public class ReaderController : BaseApiController
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
return Ok(info);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue