mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2025-12-16 10:18:48 +00:00
pass in fbAuth to getUserDetails
This commit is contained in:
parent
714e6a4e07
commit
e524bc2811
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user