Refactored the setContinuePoint code from the UI to the backend. Now, through an API, we can get the chapter to restart from. (#973)
This commit is contained in:
parent
3eb494dff4
commit
218f642870
7 changed files with 281 additions and 59 deletions
|
@ -135,9 +135,9 @@ export class SeriesService {
|
|||
}));
|
||||
}
|
||||
|
||||
getContinueReading(libraryId: number = 0) {
|
||||
return this.httpClient.get<InProgressChapter[]>(this.baseUrl + 'series/continue-reading?libraryId=' + libraryId);
|
||||
}
|
||||
// getContinueReading(libraryId: number = 0) {
|
||||
// return this.httpClient.get<InProgressChapter[]>(this.baseUrl + 'series/continue-reading?libraryId=' + libraryId);
|
||||
// }
|
||||
|
||||
refreshMetadata(series: Series) {
|
||||
return this.httpClient.post(this.baseUrl + 'series/refresh-metadata', {libraryId: series.libraryId, seriesId: series.id});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue