From a6b4db18a3f2f6a240f3a781b88568f2063b367b Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Tue, 1 Aug 2023 17:37:33 +0530 Subject: [PATCH] feat: remove unnecessary commit --- db-connector.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/db-connector.go b/db-connector.go index 0b06912..041e9fb 100755 --- a/db-connector.go +++ b/db-connector.go @@ -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]) }