diff --git a/reset-daily-tasks.go b/reset-daily-tasks.go index 61ed111..afc9395 100644 --- a/reset-daily-tasks.go +++ b/reset-daily-tasks.go @@ -68,16 +68,19 @@ func resetDailyTasks(cCtx *cli.Context) error { log.Debug().Int("number of cards", len(cards)).Msg("Get Cards") for _, card := range cards { + log.Debug().Str("name", card.Name).Msg("Check") foundLabel := false for _, label := range card.Labels { if label.ID == dailyLabel.ID { foundLabel = true + log.Debug().Interface("card", card).Msg("Found daily card") break } } if !foundLabel { - break + log.Debug().Str("name", card.Name).Msg("Not match") + continue } err = card.MoveToList(todoList.ID, trello.Defaults())