p3 & dedupe typeahead results
This commit is contained in:
@ -30,7 +30,8 @@ class RandMsg(FastAPI):
|
||||
short: Optional[bool] = False
|
||||
if isinstance(data, RandMsgRequest):
|
||||
short = data.short
|
||||
db_rand_selected: int = 9
|
||||
if short:
|
||||
db_rand_selected: int = 9
|
||||
db_rand_selected = random.choice([0, 1, 3])
|
||||
title_attr: str = "Unknown"
|
||||
|
||||
|
Reference in New Issue
Block a user