mirror of https://github.com/caronc/apprise
OpsGenie: Set title to body if title not set (#688)
parent
1228b3884e
commit
44887e9c1d
|
@ -382,7 +382,7 @@ class NotifyOpsgenie(NotifyBase):
|
||||||
has_error = False
|
has_error = False
|
||||||
|
|
||||||
# Use body if title not set
|
# Use body if title not set
|
||||||
title_body = body if not title else body
|
title_body = body if not title else title
|
||||||
|
|
||||||
# Create a copy ouf our details object
|
# Create a copy ouf our details object
|
||||||
details = self.details.copy()
|
details = self.details.copy()
|
||||||
|
|
Loading…
Reference in New Issue