- Merge book metadata service to book service

- Standardize API endpoints
This commit is contained in:
aditya.chandel
2025-01-27 10:08:32 -07:00
parent 25067d13fb
commit a554308f94
27 changed files with 160 additions and 415 deletions
@@ -47,7 +47,7 @@ export class PdfViewerComponent implements OnInit, OnDestroy {
)
.subscribe((appSettings) => {
const book$ = this.bookService.getBookByIdFromAPI(this.bookId, false);
const pdf$ = this.bookService.getPdfData(this.bookId);
const pdf$ = this.bookService.getFileContent(this.bookId);
const bookSetting$ = this.bookService.getBookSetting(this.bookId);
forkJoin([book$, pdf$, bookSetting$]).subscribe((results) => {