mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 10:06:15 -06:00
Use omitempty consistently on API models
This commit is contained in:
parent
bdd9553ea8
commit
187c5fdf23
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ type StatusSource struct {
|
|||
SpoilerText string `json:"spoiler_text"`
|
||||
|
||||
// Content type that was used to parse the text.
|
||||
ContentType StatusContentType `json:"content_type"`
|
||||
ContentType StatusContentType `json:"content_type,omitempty"`
|
||||
}
|
||||
|
||||
// StatusEdit represents one historical revision of a status, containing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue