whoopsies
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user