From 00a93fa4a76cfa2fb534115df96046f8358f0de0 Mon Sep 17 00:00:00 2001 From: Florian Date: Fri, 17 Oct 2025 17:23:55 +0200 Subject: [PATCH] Notify: Fixed layout and added timestamp --- src/send_notification.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/send_notification.py b/src/send_notification.py index db30548..72ed0a3 100644 --- a/src/send_notification.py +++ b/src/send_notification.py @@ -31,9 +31,10 @@ def send_notification(title: str,chapter: int,link: str,max_retries: int = 5,tim "receipent_user_id": 1, "message": { "title": title, - "info": f"Chapter {chapter} has been released", + "body": f"Chapter {chapter} has been released", "link": link, - "category":"royal-road" + "category":"royal-road", + "timestamp": str(int(time.time())) } }