caronc / apprise-api

A lightweight REST framework that wraps the Apprise Notification Library
https://hub.docker.com/r/caronc/apprise
MIT License
575 stars 49 forks source link

allow empty body when attachment is provided #156

Closed gera2ld closed 6 months ago

gera2ld commented 6 months ago

Description:

Related issue (if applicable): refs #

When an attachment is provided, body should be optional. At least this is how the command-line works.

Checklist

codecov-commenter commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9d3f8c7) 95.23% compared to head (c6e4a57) 95.23%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #156 +/- ## ======================================= Coverage 95.23% 95.23% ======================================= Files 7 7 Lines 714 714 ======================================= Hits 680 680 Misses 34 34 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.