Skip to content

Commit

Permalink
feat: remove unnecessary commit
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0elliot committed Aug 1, 2023
1 parent 7a5471a commit a6b4db1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions db-connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -5456,16 +5456,6 @@ func SetWorkflow(ctx context.Context, workflow Workflow, id string, optionalEdit
workflow.Created = timeNow
}

for actionIndex, _ := range workflow.Comments {
workflow.Comments[actionIndex].Position.X = float64(workflow.Comments[actionIndex].Position.X)
workflow.Comments[actionIndex].Position.Y = float64(workflow.Comments[actionIndex].Position.Y)
}

for actionIndex, _ := range workflow.Actions {
workflow.Actions[actionIndex].Position.X = float64(workflow.Actions[actionIndex].Position.X)
workflow.Actions[actionIndex].Position.Y = float64(workflow.Actions[actionIndex].Position.Y)
}

if len(optionalEditedSecondsOffset) > 0 {
workflow.Edited += int64(optionalEditedSecondsOffset[0])
}
Expand Down

0 comments on commit a6b4db1

Please sign in to comment.