Save epub progress

This commit is contained in:
aditya.chandel
2025-01-14 17:25:09 -07:00
parent e9a42ac473
commit 6e42548fbb
5 changed files with 61 additions and 27 deletions
@@ -159,6 +159,9 @@ export class BookService {
});
}
saveEpubProgress(bookId: number, progress: string): Observable<void> {
return this.http.post<void>(`${this.url}/progress`, { bookId: bookId, epubProgress: progress });
}
/*------------------ All the websocket handlers go below ------------------*/