Skip to content

Commit 5837161

Browse files
author
mesut
committed
fix build
1 parent 8376cfa commit 5837161

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/backend/src/routes/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ router.get('/google/callback', async (req, res, next) => {
3535
}
3636

3737
// Continue with normal authentication flow using passport
38-
passport.authenticate('google', { failureRedirect: `${FRONTEND_URL}/login?error=auth_failed` })(req, res, (err) => {
38+
passport.authenticate('google', { failureRedirect: `${FRONTEND_URL}/login?error=auth_failed` })(req, res, (err: any) => {
3939
if (err) {
4040
return res.redirect(`${FRONTEND_URL}/login?error=server_error`);
4141
}

0 commit comments

Comments
 (0)