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

add ntfy notifier #141

Merged
merged 2 commits into from Jan 5, 2024
Merged

add ntfy notifier #141

merged 2 commits into from Jan 5, 2024

Conversation

wunter8
Copy link
Contributor

@wunter8 wunter8 commented Jan 5, 2024

Allow sending notifications to a ntfy server (similar to Gotify). See https://ntfy.sh

)
logger.debug(response.text)
response.raise_for_status()
return response
Copy link
Member

Choose a reason for hiding this comment

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

Should it return response? I thought notifiers' results are ignored.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I copied the code from Gotify, which appears to have copied from Webhook. I think you're right, though, that the results are ignored. I'll remove it from here. Want me to remove it from the others as well?

@peterdemin
Copy link
Member

Thank you! The PR LGTM with a minor comment above. I'll try to merge/release it later today.

@peterdemin peterdemin merged commit 3a2326c into kibitzr:master Jan 5, 2024
3 of 4 checks passed
@peterdemin
Copy link
Member

Released in 7.0.6, thanks!
https://kibitzr.readthedocs.io/en/latest/ntfy.html#ntfy

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