Skip to content

Conversation

tonyanziano
Copy link
Contributor

There was a misplaced next() call in the replyToActivity.ts handler that is responsible for posting messages from the bot back to Web Chat. This next() call was terminating the response earlier than the call to res.send(HttpStatus.OK, { id: activity.id }); on line 62 which was causing the newer version of NodeJS to throw when it was not before on the older version.

cwhitten
cwhitten previously approved these changes Nov 11, 2021
a-b-r-o-w-n
a-b-r-o-w-n previously approved these changes Nov 11, 2021
a-b-r-o-w-n
a-b-r-o-w-n previously approved these changes Nov 11, 2021
@coveralls
Copy link

coveralls commented Nov 11, 2021

Coverage Status

Coverage decreased (-0.002%) to 67.839% when pulling 1e00d35 on toanzian/restify-handler-fix into 3226464 on main.

@tonyanziano tonyanziano merged commit 0a75699 into main Nov 11, 2021
@tonyanziano tonyanziano deleted the toanzian/restify-handler-fix branch November 11, 2021 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants