Merge pull request #54 from dvdplm/fix/user-is-pointer-in-teamjoinevent
In other events, the User is not a pointer
Norberto Lopes
8 years ago
2 | 2 |
// TeamJoinEvent represents the Team join event
|
3 | 3 |
type TeamJoinEvent struct {
|
4 | 4 |
Type string `json:"type"`
|
5 | |
User *User `json:"user,omitempty"`
|
|
5 |
User User `json:"user"`
|
6 | 6 |
}
|
7 | 7 |
|
8 | 8 |
// TeamRenameEvent represents the Team rename event
|