Skip to content

Commit c78195f

Browse files
curquizabidoubiwa
andauthored
Update README.md
Co-Authored-By: cvermand <[email protected]>
1 parent 49352ba commit c78195f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Despite it is not detailled in the examples above, it can only be used inside an
117117

118118
```javascript
119119
// Create an index
120-
const index = await client.createIndex({ uid: 'books' })
120+
await client.createIndex({ uid: 'books' })
121121
// Create an index and give the primary-key
122122
const index = await client.createIndex({ uid: 'books', primaryKey: 'book_id' })
123123
```

0 commit comments

Comments
 (0)