Fix extra "resolved" message
This commit is contained in:
parent
f36fb69435
commit
f46f99c1a2
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue