Skip to content

Commit 5fefcca

Browse files
author
Simon Prickett
authored
Fixed a small typo. (#2168)
1 parent e1c13f8 commit 5fefcca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/search-hashes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function searchHashes() {
4242

4343
// Perform a search query, find all the dogs... sort by age, descending.
4444
// Documentation: https://oss.redis.com/redisearch/Commands/#ftsearch
45-
// Query synatax: https://oss.redis.com/redisearch/Query_Syntax/
45+
// Query syntax: https://oss.redis.com/redisearch/Query_Syntax/
4646
const results = await client.ft.search(
4747
'idx:animals',
4848
'@species:{dog}',
@@ -88,4 +88,4 @@ async function searchHashes() {
8888
await client.quit();
8989
}
9090

91-
searchHashes();
91+
searchHashes();

0 commit comments

Comments
 (0)