Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve webhooks support for fastify #58

Merged
merged 1 commit into from
Oct 16, 2021
Merged

Improve webhooks support for fastify #58

merged 1 commit into from
Oct 16, 2021

Conversation

dzek69
Copy link
Contributor

@dzek69 dzek69 commented Oct 16, 2021

Current version of fastify is stuck on never ending request when using webhookCallback and the update is handled without an error and without a reply as well (which matters only when using webhook replies anyway).

This fixes that.

This problem happens on fastify v1 and v3 (latest versions for each major version).
Fastify v2 works without the fix but the fix won't break it.

Copy link
Member

@KnorpelSenf KnorpelSenf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubber-stamp LGTM.

@KnorpelSenf KnorpelSenf merged commit 026eae9 into grammyjs:main Oct 16, 2021
@KnorpelSenf
Copy link
Member

@all-contributors add @dzek69 for code and bug

@allcontributors
Copy link
Contributor

@KnorpelSenf

I've put up a pull request to add @dzek69! 🎉

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.

None yet

2 participants