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

Commit b483fd1

Browse files
committed
Remove duplicate GET /db/:dbname/allendpoint
1 parent d6da3d9 commit b483fd1

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"express": "^4.16.4",
2121
"ipfs": "^0.34.4",
2222
"ipfs-http-client": "^30.0.0",
23-
"orbit-db": "0.20.0-rc.1.1",
24-
"orbit-db-kvstore": "1.5.0-rc2"
23+
"orbit-db": "0.20.0-rc.1.1"
2524
}
2625
}

src/lib/orbitdb-api.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,6 @@ class OrbitdbAPI extends Express {
172172
return res.json(db.value)
173173
}));
174174

175-
this.get('/db/:dbname/all', asyncMiddleware( async (req, res, next) => {
176-
let db
177-
db = await dbm.get(req.params.dbname)
178-
return res.json(db.all())
179-
}));
180-
181175
this.get('/db/:dbname/:item', asyncMiddleware( async (req, res, next) => {
182176
let result, contents
183177
contents = await getraw(req,res, next)

0 commit comments

Comments
 (0)