bugfix randmsg/minor
This commit is contained in:
@ -304,7 +304,7 @@ class Radio(FastAPI):
|
||||
'err': True,
|
||||
'errorText': 'Invalid request.',
|
||||
})
|
||||
typeahead = await self.radio_util.trackdb_typeahead(data.query)
|
||||
typeahead: Optional[list[str]] = await self.radio_util.trackdb_typeahead(data.query)
|
||||
if not typeahead:
|
||||
return JSONResponse(content=[])
|
||||
return JSONResponse(content=typeahead)
|
Reference in New Issue
Block a user