Skip to content
This repository was archived by the owner on Sep 30, 2023. It is now read-only.

Commit 4f05a19

Browse files
authored
Merge pull request #37 from bechurch/patch-1
Add missing await to getting started in readme
2 parents 017b52b + 43742f8 commit 4f05a19

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
@@ -48,7 +48,7 @@ kv.put('volume', '100')
4848
Later, when the database contains data, load the history and query when ready:
4949

5050
```javascript
51-
const kv = orbitdb.kvstore('settings')
51+
const kv = await orbitdb.kvstore('settings')
5252
kv.events.on('ready', () => {
5353
console.log(kv.get('volume'))
5454
// 100

0 commit comments

Comments
 (0)