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

Commit df3173d

Browse files
authored
Remove unnecessary async
1 parent a0e3d21 commit df3173d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/orbitdb-api.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ class OrbitdbAPI extends Express {
201201
return contents
202202
}
203203

204-
this.get('/identity', asyncMiddleware( async (req, res, next) => {
204+
this.get('/identity', (req, res, next) => {
205205
const identity = dbm.identity()
206206

207207
return res.json(identity)
208-
}));
208+
});
209209

210210
var db_put_write_public_key = asyncMiddleware( async (req, res, next) => {
211211
let db

0 commit comments

Comments
 (0)