Skip to content

Commit

Permalink
Correctly set state to NULL when unclosing a task
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-si committed May 5, 2024
1 parent 4d2032e commit 016ded0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasklite-core/source/Lib.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1811,7 +1811,9 @@ uncloseTasks conf connection ids = do
connection
[sql|
UPDATE tasks
SET closed_utc = NULL
SET
closed_utc = NULL,
state = NULL
WHERE ulid == :ulid
|]
[":ulid" := task.ulid]
Expand Down

0 comments on commit 016ded0

Please sign in to comment.