summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-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)