Removed showing toasts when series are added to the server since cards will show automatically. Hide events widget unless you're an admin. Changed an API signature to match the data that's being sent back. (#979)
This commit is contained in:
parent
613a866277
commit
52ab01571b
4 changed files with 12 additions and 7 deletions
|
@ -148,7 +148,7 @@ namespace API.Controllers
|
|||
}
|
||||
|
||||
[HttpGet("chapter")]
|
||||
public async Task<ActionResult<VolumeDto>> GetChapter(int chapterId)
|
||||
public async Task<ActionResult<ChapterDto>> GetChapter(int chapterId)
|
||||
{
|
||||
return Ok(await _unitOfWork.ChapterRepository.GetChapterDtoAsync(chapterId));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue