Skip to content

Commit

Permalink
remove returns
Browse files Browse the repository at this point in the history
  • Loading branch information
serdiukov-o-nordwhale committed Sep 10, 2020
1 parent 8685475 commit 850e087
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/gun/gun-middleware.js
Expand Up @@ -103,9 +103,9 @@ const setup = (app: Router) => {
if (conf.gundbServerMode) {
app.use((req, res, next) => {
try {
return Gun.serve(req, res, next)
Gun.serve(req, res, next)
} catch (e) {
return next(e)
next(e)
}
})
}
Expand Down

0 comments on commit 850e087

Please sign in to comment.