Remove zone from pdf reader

This commit is contained in:
aditya.chandel
2025-01-15 18:51:34 -07:00
parent 501dd8a25b
commit 6cf131a412
8 changed files with 61 additions and 59 deletions
@@ -143,8 +143,9 @@ export class BookService {
);
}
getBookDataUrl(bookId: number): string {
return `${this.url}/${bookId}/data`;
getBookData(bookId: number): Observable<Blob> {
console.log('Fetching book data...');
return this.http.get<Blob>(`${this.url}/${bookId}/data`, { responseType: 'blob' as 'json' });
}
getBookCoverUrl(bookId: number): string {