Работа над списком книг в серии

This commit is contained in:
Book Pauk
2022-10-10 17:02:58 +07:00
parent ec96d4af39
commit 0e2ef4133e
6 changed files with 139 additions and 10 deletions

View File

@@ -220,6 +220,16 @@ class Api {
return response;
}
async getSeriesBookList(seriesId) {
const response = await this.request({action: 'get-series-book-list', seriesId});
if (response.error) {
throw new Error(response.error);
}
return response;
}
async getGenreTree() {
const response = await this.request({action: 'get-genre-tree'});