Skip to content

Commit

Permalink
Added a missing json tag
Browse files Browse the repository at this point in the history
  • Loading branch information
macnibblet committed Mar 2, 2018
1 parent a7959f1 commit cd8e4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type Template struct {
TemplateId string `sql:",pk" json:"id"`
Locale string `sql:",pk" json:"locale"`

Enabled bool `sql:",notnull"`
Enabled bool `sql:",notnull" json:"enabled"`
Description string `sql:",notnull" json:"description"`

Parameters map[string]interface{} `json:"parameters"`
Expand Down

0 comments on commit cd8e4c0

Please sign in to comment.