Skip to content

Commit 6a25619

Browse files
committed
style: format code for consistency and readability in client.go
Signed-off-by: adam.wu <[email protected]>
1 parent a1b114b commit 6a25619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/infra/persistence/meilisearch/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func (cl *Client) AggregateDocumentByTerms(ctx context.Context, index string, fi
180180
return nil, fmt.Errorf("no fields provided for aggregation")
181181
}
182182
if len(fields) > 1 {
183-
return nil, fmt.Errorf("only one field is supported for aggregation")
183+
return nil, fmt.Errorf("only one field is supported for aggregation for meilisearch")
184184
}
185185
// Execute the search request with the single-term aggregation.
186186
resp, err := cl.client.Index(index).SearchWithContext(ctx, "", &meilisearch.SearchRequest{

0 commit comments

Comments
 (0)