Skip to content

Commit afd19f0

Browse files
authored
Update .code-samples.meilisearch.yaml
`client.stats()` isn't a function according to the latest version of meilisearch-js. It seems `client.getStats()` is correct.
1 parent 42286f8 commit afd19f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.code-samples.meilisearch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ reset_typo_tolerance_1: |-
265265
get_index_stats_1: |-
266266
client.index('movies').getStats()
267267
get_indexes_stats_1: |-
268-
client.stats()
268+
client.getStats()
269269
get_health_1: |-
270270
client.health()
271271
get_version_1: |-

0 commit comments

Comments
 (0)