TypeError: Cannot read properties of undefined (reading 'headers')
Answered
Leafcutting bee posted this in #help-forum
Leafcutting beeOP
Hey you all, I have a small issue here. I have tried many different things, added/removed headers option from response, etc... But this error is still showing up.
Does anyone know how I could fix this?
Does anyone know how I could fix this?
Answered by Leafcutting bee
## Resolved... Was returning the damn res to the bcrypt function, and not the post function... I am dumb. Sorry!
2 Replies
@Leafcutting bee Hey you all, I have a small issue here. I have tried many different things, added/removed headers option from response, etc... But this error is still showing up.
Does anyone know how I could fix this?
Leafcutting beeOP
Even tried getting the headers with the
next/headers function, it prints the headers fine in a console.log, but still shows this errorLeafcutting beeOP
## Resolved... Was returning the damn res to the bcrypt function, and not the post function... I am dumb. Sorry!
Answer