Skip to content

Commit c057ca8

Browse files
committed
test callback
1 parent ae8b57b commit c057ca8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

routes/authRoutes.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@ module.exports = (app) => {
99
})
1010
);
1111

12-
app.get(
13-
"/auth/spotify/callback",
14-
passport.authenticate("spotify", { failureRedirect: "/login" }),
15-
(req, res) => {
16-
res.redirect("/");
17-
}
18-
);
19-
2012
app.get("/api/current_user", (req, res) => {
2113
res.send(req.user);
2214
});

0 commit comments

Comments
 (0)