Skip to content

Commit 5899cd8

Browse files
committed
bug #375 [Examples] Use function http_client() (OskarStark)
This PR was merged into the main branch. Discussion ---------- [Examples] Use function `http_client()` | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | -- | License | MIT Commits ------- e481e57 [Examples] Use function `http_client()`
2 parents 5c2c139 + e481e57 commit 5899cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/rag/meilisearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
// initialize the store
3333
$store = new Store(
34-
httpClient: HttpClient::create(),
34+
httpClient: http_client(),
3535
endpointUrl: env('MEILISEARCH_HOST'),
3636
apiKey: env('MEILISEARCH_API_KEY'),
3737
indexName: 'movies',

0 commit comments

Comments
 (0)