docs(api): add missing param to store ready event

This commit is contained in:
Kia 2018-07-25 21:03:59 -04:00 committed by GitHub
parent a4eb5e1c60
commit b35e0f67b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
API.md
View File

@ -535,7 +535,7 @@ Emitted while loading the local database, once for each entry. *dbname* is the n
#### `ready`
```javascript
db.events.on('ready', (dbname) => ... )
db.events.on('ready', (dbname, heads) => ... )
```
Emitted after fully loading the local database.