Replies: 1 comment
-
Looks like a fairly standard you've already sent your response error. But from the looks of it your composition to return the call of each user, you might be slightly off track. I thought maybe, okay they are testing without a database, but it doesnt seem like you are using map as intended to begin with. Seperate the logic of identifying the user in question by mapping to an assignment that will eventually populate the user if it exists and use that to pass into done(). ie
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everybody!
I have a problem when I want to send response to frontend:
"Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client"
In frontend log I see net::ERR_EMPTY_RESPONSE
passport v0.4.0, express v4.17.1
Beta Was this translation helpful? Give feedback.
All reactions