fix: json tag

This commit is contained in:
Siwoo Jeon 2025-05-14 21:23:03 +09:00
parent 0e882c3f2c
commit 4ee5a8485c
Signed by: migan
GPG key ID: 036E9A8C5E8E48DA

View file

@ -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.