1
0

fix: update function signatures

This commit is contained in:
kolaente
2024-01-16 12:47:53 +01:00
committed by konrad
parent f2efe09d59
commit 4d48d814c9
3 changed files with 11 additions and 8 deletions

View File

@ -17,6 +17,7 @@
package models
import (
"context"
"strconv"
"strings"
"time"
@ -411,7 +412,7 @@ func (t *typesenseTaskSearcher) Search(opts *taskSearchOptions) (tasks []*Task,
result, err := typesenseClient.Collection("tasks").
Documents().
Search(params)
Search(context.Background(), params)
if err != nil {
return
}