docs: fix typos

This commit is contained in:
Kia Rahimian
2018-07-17 16:55:07 -04:00
parent ab568e383e
commit 6be510decd
2 changed files with 2 additions and 2 deletions

2
API.md
View File

@@ -458,7 +458,7 @@ db.events.on(name, callback)
db.events.on('replicated', (address) => ... )
```
Emitted when a the database was synced with another peer. This is usually a good place to re-query the database for updated results, eg. if a value of a key was changed or if there are new events in an event log.
Emitted when the database has synced with another peer. This is usually a good place to re-query the database for updated results, eg. if a value of a key was changed or if there are new events in an event log.
#### `replicate`
```javascript