Skip to content

Commit

Permalink
Fix invalid JSON key name for Element.URL field
Browse files Browse the repository at this point in the history
Update the JSON key name to match the field name. I mistakenly
used the property type for the field instead of the field name
itself.

refs GH-179
  • Loading branch information
atc0005 committed Jul 20, 2022
1 parent 9b58fce commit d4f8e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adaptivecard/adaptivecard.go
Expand Up @@ -478,7 +478,7 @@ type Element struct {
//
// https://adaptivecards.io/explorer/Image.html
// https://adaptivecards.io/explorer/ImageSet.html
URL string `json:"uri,omitempty"`
URL string `json:"url,omitempty"`

// Size controls the size of text within a TextBlock element.
Size string `json:"size,omitempty"`
Expand Down

0 comments on commit d4f8e6b

Please sign in to comment.