fixed : tests
This commit is contained in:
@@ -400,8 +400,8 @@ async def _perform_search(
|
||||
|
||||
matches: List[Any] = []
|
||||
if hasattr(series_app, "search"):
|
||||
# SeriesApp.search is synchronous in core; call directly
|
||||
matches = series_app.search(validated_query)
|
||||
# SeriesApp.search is async; await the result
|
||||
matches = await series_app.search(validated_query)
|
||||
|
||||
summaries: List[AnimeSummary] = []
|
||||
for match in matches:
|
||||
|
||||
Reference in New Issue
Block a user