summaryrefslogtreecommitdiff
path: root/backend/main.py
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-11-30 01:05:42 +0700
committeraltaf-creator <dev@altafcreator.com>2025-11-30 01:05:42 +0700
commit74df5462ab0cf62af12070074487b82c19ecfba5 (patch)
tree90c7f7f1cc2f4a3de00f8e27c03fb877433c49b6 /backend/main.py
parentbb9f5d1ddb0452bba3438f8acd199e4056346e20 (diff)
it works! i can sleep nice. TODO: specific people notifs
Diffstat (limited to 'backend/main.py')
-rw-r--r--backend/main.py2
1 files changed, 1 insertions, 1 deletions
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)