Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Fixup d292534
Browse files Browse the repository at this point in the history
  • Loading branch information
tdemin committed Jun 8, 2019
1 parent 912be51 commit 51a43ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions project_amber/helpers/task.py
Expand Up @@ -23,6 +23,7 @@ def updateTask(new_text: str, task_id: int, uid: int) -> int:
if task is None:
raise NotFound(MSG_TASK_NOT_FOUND)
task.text = new_text
task.last_mod_time = time()
db.session.commit()
return task_id

Expand Down

0 comments on commit 51a43ea

Please sign in to comment.