whoopsies

This commit is contained in:
2025-02-15 21:18:20 -05:00
parent 39d1ddaffa
commit e82ca841a8
3 changed files with 6 additions and 6 deletions

View File

@ -106,7 +106,7 @@ class LyricSearch(FastAPI):
pre_query: str = data.pre_query
query: str = data.query
typeahead_result: list[dict] = await self.cache_utils.check_typeahead(query, pre_query)
typeahead_list: list[str] = [str(r.get('song')) for r in typeahead_result]
typeahead_list: list[str] = [str(r['song']) for r in typeahead_result]
return JSONResponse(content=typeahead_list)
async def lyric_search_handler(self, data: ValidLyricRequest) -> JSONResponse: