From 13f24ce175ae9aec8a8e530c748bf534398ee607 Mon Sep 17 00:00:00 2001 From: Valentin Knabel Date: Thu, 8 Aug 2024 10:15:40 +0200 Subject: [PATCH] chore(mod): bump meili --- auditing/meilisearch.go | 4 ++-- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/auditing/meilisearch.go b/auditing/meilisearch.go index cf93d13..ef121f5 100644 --- a/auditing/meilisearch.go +++ b/auditing/meilisearch.go @@ -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() diff --git a/go.mod b/go.mod index a83e6c3..7afaa97 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 95182ea..9989554 100644 --- a/go.sum +++ b/go.sum @@ -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=