Skip to content

Commit

Permalink
remove console.logs in api.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew032011 committed Sep 23, 2023
1 parent e0cb360 commit 6ce61d5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions backend/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,9 @@ router.get('/member-image', async (_, res) => {
});

// Shoutouts
loginCheckedGet('/shoutout/:email', async (req, user) => {
console.log(req.query.type)
console.log(req.query)
return ({
loginCheckedGet('/shoutout/:email', async (req, user) => ({
shoutouts: await getShoutouts(req.params.email, req.query.type as 'given' | 'received', user)
})}
);
}));

loginCheckedGet('/shoutout', async () => ({
shoutouts: await getAllShoutouts()
Expand Down

0 comments on commit 6ce61d5

Please sign in to comment.