Added a poc marker for where a bookmark resides.
Added a marker where a highlight might reside too. Can move forward with a proper implementation.
This commit is contained in:
parent
e5d949161e
commit
32ee60e1de
14 changed files with 257 additions and 76 deletions
|
|
@ -157,7 +157,10 @@ public class BookController : BaseApiController
|
|||
|
||||
try
|
||||
{
|
||||
return Ok(await _bookService.GetBookPage(page, chapterId, path, baseUrl));
|
||||
var ptocBookmarks =
|
||||
await _unitOfWork.UserTableOfContentRepository.GetPersonalToCForPage(User.GetUserId(), chapterId, page);
|
||||
|
||||
return Ok(await _bookService.GetBookPage(page, chapterId, path, baseUrl, ptocBookmarks));
|
||||
}
|
||||
catch (KavitaException ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue