From 6e9a86e5ce32577859c8eb29f5abde204dc99fcc Mon Sep 17 00:00:00 2001 From: Leon Liang Date: Thu, 24 Oct 2019 22:08:28 -0400 Subject: [PATCH] changed getUser --- functions/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/index.js b/functions/index.js index 5c728bc..a718b52 100644 --- a/functions/index.js +++ b/functions/index.js @@ -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);