From 74df5462ab0cf62af12070074487b82c19ecfba5 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 30 Nov 2025 01:05:42 +0700 Subject: it works! i can sleep nice. TODO: specific people notifs --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index af23726..491ffb3 100644 --- a/backend/main.py +++ b/backend/main.py @@ -192,7 +192,7 @@ async def start_new_timer(data: RequestData, response: fastapi.Response, session for row in out: print(row) - end_date = now + datetime.timedelta(seconds=(data.duration * 30) - 5) + end_date = now + datetime.timedelta(minutes=(data.duration * 30) - 5) timer_id = str(out[len(out) - 1][0]) print("timer id", timer_id) -- cgit v1.2.3