Skip to content

Commit

Permalink
Fix get_page_async search.py
Browse files Browse the repository at this point in the history
Fix get_page_async. next_page_async and prev_page_async dont work without it
  • Loading branch information
nyashkin authored Jan 28, 2024
1 parent d844e47 commit 3593ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yandex_music/search/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ async def get_page_async(self, page: int, *args, **kwargs) -> Optional['Search']
Returns:
:obj:`yandex_music.Search` | :obj:`None`: Страница результата поиска или :obj:`None`.
"""
return await self.client.search(self.text, self.nocorrect, self.type_, page, *args, **kwargs)
return await self.client.search(self.text, self.nocorrect, self.type, page, *args, **kwargs)

def next_page(self, *args, **kwargs) -> Optional['Search']:
"""Получение следующей страницы поиска.
Expand Down

0 comments on commit 3593ec6

Please sign in to comment.