Skip to content

Commit

Permalink
omitempty where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Oct 10, 2023
1 parent 6f35465 commit 008239d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions b/blueprints.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ type ApplicationService struct {

type Event struct {
Type string `json:"type"`
Sender string `json:"sender"`
StateKey *string `json:"state_key"`
Sender string `json:"sender,omitempty"`
StateKey *string `json:"state_key,omitempty"`
Content map[string]interface{} `json:"content"`
}

Expand Down

0 comments on commit 008239d

Please sign in to comment.