changed getUser

This commit is contained in:
Leon Liang 2019-10-24 22:08:28 -04:00
parent 97650f6539
commit 6e9a86e5ce

View File

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