From b5744bcf22e7ca324363c384b72c47e94ade1fdb Mon Sep 17 00:00:00 2001 From: Jordan Knott Date: Tue, 5 Jan 2021 17:00:07 -0600 Subject: [PATCH] fix: fix task position to use task idx not task group idx --- internal/commands/seed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/commands/seed.go b/internal/commands/seed.go index 380896c..a17fa08 100644 --- a/internal/commands/seed.go +++ b/internal/commands/seed.go @@ -126,7 +126,7 @@ func newSeedCmd() *cobra.Command { Name: taskName, TaskGroupID: taskGroup.TaskGroupID, CreatedAt: now, - Position: float64(65535 * (taskGroupIdx + 1)), + Position: float64(65535 * (taskIdx + 1)), }) if err != nil { return err