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

Feature: change the key in the json body of the webhook message to use an environment variable #79

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MohamedSaidSallam
Copy link

As discussed in PR #75, The key used in the webhook body can be a variable to allow the user to adjust it to their webhook provider. so I changed the body of the webhook request from

"text":"$text"

to

"$WEBHOOK_JSON_KEY":"$text"

Let me know if anything should be changed or if the change isn't acceptable.
And thanks for making this awesome repo.

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

1 participant