Переименования

This commit is contained in:
Book Pauk
2022-10-25 15:43:40 +07:00
parent 7553b88b89
commit dd5598a695
5 changed files with 10 additions and 10 deletions

View File

@@ -202,8 +202,8 @@ class Api {
}
}
async search(query) {
const response = await this.request({action: 'search', query});
async authorSearch(query) {
const response = await this.request({action: 'author-search', query});
if (response.error) {
throw new Error(response.error);