From cf4fde52d2540b5e39e599d3b389697baf9124dd Mon Sep 17 00:00:00 2001 From: haad Date: Tue, 17 Jan 2023 14:37:35 +0200 Subject: [PATCH] Update API documentation --- API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API.md b/API.md index 3442eb5..e509888 100644 --- a/API.md +++ b/API.md @@ -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) ```