fix(backend/db): fixed arguments order for autocomplete inserts
This commit is contained in:
parent
8f54247a29
commit
56f68273d5
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ func (conn *Conn) insertAutocompleteValue(sessionID uint64, projectID uint32, tp
|
|||
if len(value) == 0 {
|
||||
return
|
||||
}
|
||||
if err := conn.autocompletes.Append(tp, value, projectID); err != nil {
|
||||
if err := conn.autocompletes.Append(value, tp, projectID); err != nil {
|
||||
log.Printf("autocomplete bulk err: %s", err)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue