pass in fbAuth to getUserDetails

This commit is contained in:
Leon Liang 2019-10-24 16:25:19 -04:00
parent 714e6a4e07
commit e524bc2811

View File

@ -27,7 +27,7 @@ app.post("/signup", signup);
// and password
app.post("/login", login);
app.get("/getUser/:handle", getUserDetails);
app.get("/getUser/:handle", fbAuth, getUserDetails);
// Returns all profile data of the currently logged in user
app.get("/getProfileInfo", fbAuth, getProfileInfo);