Skip to content

Commit

Permalink
chore(mod): bump meili
Browse files Browse the repository at this point in the history
  • Loading branch information
vknabel committed Aug 8, 2024
1 parent 100e8a9 commit 13f24ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions auditing/meilisearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,14 @@ func (a *meiliAuditing) Search(filter EntryFilter) ([]Entry, error) {
filter.Limit = EntryFilterDefaultLimit
}

reqProto := meilisearch.SearchRequest{
reqProto := &meilisearch.SearchRequest{
Filter: predicates,
Query: filter.Body,
Sort: []string{"timestamp-unix:desc", "sort-weight:desc"},
Limit: filter.Limit,
}
req := &meilisearch.MultiSearchRequest{
Queries: []meilisearch.SearchRequest{},
Queries: []*meilisearch.SearchRequest{},
}

_, err := a.getLatestIndex()
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ require (
github.com/google/uuid v1.6.0
github.com/icza/dyno v0.0.0-20230330125955-09f820a8d9c0
github.com/mattn/go-isatty v0.0.20
github.com/meilisearch/meilisearch-go v0.27.1
github.com/meilisearch/meilisearch-go v0.27.2
github.com/metal-stack/security v0.8.0
github.com/metal-stack/v v1.0.3
github.com/nsqio/go-nsq v1.1.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ github.com/mdlayher/sdnotify v1.0.0 h1:Ma9XeLVN/l0qpyx1tNeMSeTjCPH6NtuD6/N9XdTlQ
github.com/mdlayher/sdnotify v1.0.0/go.mod h1:HQUmpM4XgYkhDLtd+Uad8ZFK1T9D5+pNxnXQjCeJlGE=
github.com/mdlayher/socket v0.5.0 h1:ilICZmJcQz70vrWVes1MFera4jGiWNocSkykwwoy3XI=
github.com/mdlayher/socket v0.5.0/go.mod h1:WkcBFfvyG8QENs5+hfQPl1X6Jpd2yeLIYgrGFmJiJxI=
github.com/meilisearch/meilisearch-go v0.27.1 h1:9FZfZ9Gy9GQHAfuIpKzubDASH1TJ8HGWVwiju3KKevI=
github.com/meilisearch/meilisearch-go v0.27.1/go.mod h1:SxuSqDcPBIykjWz1PX+KzsYzArNLSCadQodWs8extS0=
github.com/meilisearch/meilisearch-go v0.27.2 h1:3G21dJ5i208shnLPDsIEZ0L0Geg/5oeXABFV7nlK94k=
github.com/meilisearch/meilisearch-go v0.27.2/go.mod h1:SxuSqDcPBIykjWz1PX+KzsYzArNLSCadQodWs8extS0=
github.com/metal-stack/security v0.8.0 h1:tVaSDB9m5clwYrnLyaXfPy7mQlJTnmeoHscG+RUy/xo=
github.com/metal-stack/security v0.8.0/go.mod h1:7GAcQb+pOgflW30ohJygxpqc3i0dQ2ahGJK1CU5tqa0=
github.com/metal-stack/v v1.0.3 h1:Sh2oBlnxrCUD+mVpzfC8HiqL045YWkxs0gpTvkjppqs=
Expand Down

0 comments on commit 13f24ce

Please sign in to comment.