Skip to content

Commit df49b6c

Browse files
committed
add json exclude to ChannelDelete before state
1 parent d2d46a8 commit df49b6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

events.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type ChannelUpdate struct {
6060
// ChannelDelete is the data for a ChannelDelete event.
6161
type ChannelDelete struct {
6262
*Channel
63-
BeforeDelete *Channel
63+
BeforeDelete *Channel `json:"-"`
6464
}
6565

6666
// ChannelPinsUpdate stores data for a ChannelPinsUpdate event.

0 commit comments

Comments
 (0)