diff --git a/src/alertify/messaging.py b/src/alertify/messaging.py index fb03764..cb638bb 100644 --- a/src/alertify/messaging.py +++ b/src/alertify/messaging.py @@ -31,6 +31,10 @@ class MessageHandler: for alert_id in self.gotify.find_byfingerprint(alert): if not self.gotify.delete(alert_id): logging.error('There was a problem removing message ID %d', alert_id) + return { + 'status': 200, + 'reason': 'Message deletion complete' + } prefix = 'resolved' else: