Skip to content

Commit

Permalink
feat: adapt to last open api (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
pggb25 authored Apr 22, 2024
1 parent 6f549d4 commit c13af95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cronjob_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func getCronjobJsonOutput(statuses []qovery.Status, cronjobs []qovery.JobRespons
var results []interface{}

for _, cronjob := range cronjobs {
if cronjob.CronJobResponse.Schedule.Cronjob != nil {
if cronjob.CronJobResponse != nil {
results = append(results, map[string]interface{}{
"id": cronjob.CronJobResponse.Id,
"name": cronjob.CronJobResponse.Name,
Expand Down

0 comments on commit c13af95

Please sign in to comment.