fix issue sending sometimes events to apprise backends.
This commit is contained in:
parent
13b13d1f7b
commit
5208d0ab1f
1 changed files with 1 additions and 1 deletions
|
|
@ -449,7 +449,7 @@ class Notification(metaclass=Singleton):
|
|||
notify.add(t.request.url)
|
||||
|
||||
status = await notify.async_notify(
|
||||
body=ev.message or json.dumps(ev.serialize(), sort_keys=False, ensure_ascii=False),
|
||||
body=ev.message or self._encoder.encode(ev.serialize()),
|
||||
title=ev.title or f"YTPTube Event: {ev.event}",
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue