fix: json tag
This commit is contained in:
parent
0e882c3f2c
commit
4ee5a8485c
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ type Thumbnail struct {
|
|||
ID int `json:"id,omitempty"`
|
||||
Media UnfurledMediaItem `json:"media"`
|
||||
Description *string `json:"description,omitempty"`
|
||||
Spoiler bool `json:"spoiler,omitemoty"`
|
||||
Spoiler bool `json:"spoiler,omitempty"`
|
||||
}
|
||||
|
||||
// Type is a method to get the type of a component.
|
||||
|
|
Loading…
Reference in a new issue