DEV Community

Discussion on: A crash course on Serverless with AWS - Building APIs with Lambda and Aurora Serverless

Collapse
 
bryangerre profile image
BryanGerre

Hey Adnan, I'm trying to query the database using

const user = await User.findAll({
where: {
user_email: event.pathParameters.user_email
}

The event.pathParameters.user_email has a %40 instead of the @ symbol.

any suggestions?