Skip to content

Commit

Permalink
fix incorrect created_by => createdBy JSON struct tag
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnps committed Feb 15, 2023
1 parent f8934b1 commit a2f0755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2807,7 +2807,7 @@ type SiteTemplateRuleBody struct {
type Detection struct {
DetectionUpdateBody
Created *time.Time `json:"created,omitempty"`
CreatedBy string `json:"created_by,omitempty"`
CreatedBy string `json:"createdBy,omitempty"`
}

// Alert basic struct for an Alert
Expand Down

0 comments on commit a2f0755

Please sign in to comment.