diff --git a/pkg/cron/service.go b/pkg/cron/service.go index 0cb4932e2..c1a224013 100644 --- a/pkg/cron/service.go +++ b/pkg/cron/service.go @@ -25,7 +25,7 @@ type CronSchedule struct { type CronPayload struct { Kind string `json:"kind"` - Type string `json:"type,omitempty"` // "message" (default) or "directive" + Type string `json:"type"` Message string `json:"message"` Command string `json:"command,omitempty"` Deliver bool `json:"deliver"`