Update API documentation

This commit is contained in:
haad 2023-01-17 14:37:35 +02:00
parent d2ae435345
commit cf4fde52d2

2
API.md
View File

@ -493,7 +493,7 @@ OrbitDB.isValidType('docstore')
### OrbitDB.addDatabaseType(type, store)
Adds a custom database type & store to OrbitDB
```js
const CustomStore = require('./CustomStore')
import CustomStore from './CustomStore'
OrbitDB.addDatabaseType(CustomStore.type, CustomStore)
```