added --today parameter to send a nofitication for todays events else its change or new events. also fetches current and next month now.

This commit is contained in:
2025-10-20 02:58:16 +02:00
parent 1cdcf2f423
commit f086fd9792
6 changed files with 49 additions and 54 deletions

View File

@@ -1,6 +1,6 @@
import * as Bun from "bun";
export function sendNotification(title: string, body: string, click?: string) {
export function sendNotification(title: string, body: string, click?: string | null) {
const command = [
"python",
"./app/notification.py",