Skip to content

Commit

Permalink
fix: change action.result to JSONMap (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe authored Jan 15, 2024
1 parent f3ff8c7 commit cac7ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/playbooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ type PlaybookRunAction struct {
ScheduledTime time.Time `json:"scheduled_time,omitempty" time_format:"postgres_timestamp" gorm:"default:NOW(), NOT NULL"`
StartTime time.Time `json:"start_time,omitempty" time_format:"postgres_timestamp" gorm:"default:NOW(), NOT NULL"`
EndTime *time.Time `json:"end_time,omitempty" time_format:"postgres_timestamp"`
Result types.JSON `json:"result,omitempty" gorm:"default:null"`
Result types.JSONMap `json:"result,omitempty" gorm:"default:null"`
Error string `json:"error,omitempty" gorm:"default:null"`
}

Expand Down

0 comments on commit cac7ed1

Please sign in to comment.