wip
This commit is contained in:
parent
e99de57edc
commit
3443227006
5 changed files with 27 additions and 16 deletions
|
@ -94,7 +94,7 @@ async fn autocomplete(data: web::Data<Data>, req: HttpRequest) -> impl Responder
|
|||
.take(1000)
|
||||
.for_each(|msg| {
|
||||
msg.tags().for_each(|tag| {
|
||||
results.insert(format!("tag:{}", tag));
|
||||
results.insert(tag);
|
||||
})
|
||||
}),
|
||||
Autocomplete::From => db
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue