Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
kveeti committed Dec 6, 2023
1 parent def1291 commit 96c5057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/api/src/endpoints/tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ pub async fn add_manual_task(
tag_id: tag.id.to_owned(),
is_manual: true,
seconds: body
.started_at
.signed_duration_since(body.expires_at)
.expires_at
.signed_duration_since(body.started_at)
.num_seconds() as i32,
start_at: body.started_at,
end_at: body.expires_at,
Expand Down

0 comments on commit 96c5057

Please sign in to comment.