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