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

Commit 8da70bb

Browse files
committed
Add missing await
1 parent d876def commit 8da70bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/orbitdb-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class OrbitdbAPI extends Express {
128128
};
129129

130130
this.get('/db/:dbname/rawiterator', asyncMiddleware( async (req, res, next) => {
131-
return res.json(rawiterator(req,res,next))}));
131+
return res.json(await rawiterator(req,res,next))}));
132132

133133
this.get('/db/:dbname/:item', asyncMiddleware( async (req, res, next) => {
134134
let db, result, contents

0 commit comments

Comments
 (0)