Update user.ts

This commit is contained in:
talksik
2022-03-18 17:35:53 -04:00
parent b9d38a6484
commit d4f50ef989
-4
View File
@@ -30,10 +30,6 @@ async function getUserDetails(req: Request, res: Response) {
// passed in accesstoken no matter what
const { access_token } = req.query;
console.log(res.locals);
console.log(`getting data for ${userId}`);
try {
// return user details if it passed auth middleware
const user = await UserService.getUserById(userId);