Skip to content

Commit 239e919

Browse files
committed
chore: fix lint
1 parent 1296127 commit 239e919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ app
4949
// This endpoint initializes the OAuth2 request
5050
server.get("/auth2", (req, res, next) => {
5151
if (!req.user) req.session.redirectTo = req.get("Referer");
52-
next();
52+
next(); // eslint-disable-line promise/no-callback-in-promise
5353
}, passport.authenticate("oauth2"));
5454

5555
// This endpoint handles OAuth2 requests (exchanges code for token)

0 commit comments

Comments
 (0)