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

Commit 43742f8

Browse files
authored
Add missing await to getting started in readme
Noticed we were missing an await after calling `kvstore`
1 parent 017b52b commit 43742f8

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)