Skip to content

Commit

Permalink
took out console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
SubinQKim committed Jan 22, 2024
1 parent 2679ca2 commit 69e2ab0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion routes/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const verifyToken = async (req, res, next) => {
authRouter.get('/verifyToken/:accessToken', async (req, res) => {
try {
const { accessToken } = req.params;
console.log('accessToken3urju3jrwj!', accessToken);
const decodedToken = await admin.auth().verifyIdToken(accessToken);
return res.status(200).send(decodedToken.uid);
} catch (err) {
Expand Down
1 change: 0 additions & 1 deletion routes/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ userRouter.get('/', async (req, res) => {
userRouter.get('/:uid', async (req, res) => {
try {
const { uid } = req.params;
console.log('uid', req.params);
const user = await db.query(`SELECT * FROM users WHERE id = $1;`, [uid]);
res.status(200).json(keysToCamel(user));
} catch (err) {
Expand Down

0 comments on commit 69e2ab0

Please sign in to comment.