Переименования, поправки

This commit is contained in:
Book Pauk
2022-10-25 15:58:05 +07:00
parent dd5598a695
commit 03e5a87eb3
6 changed files with 153 additions and 153 deletions

View File

@@ -212,8 +212,8 @@ class Api {
return response;
}
async getBookList(authorId) {
const response = await this.request({action: 'get-book-list', authorId});
async getAuthorBookList(authorId) {
const response = await this.request({action: 'get-author-book-list', authorId});
if (response.error) {
throw new Error(response.error);