refining some serialization

This commit is contained in:
tsmethurst
2021-04-06 23:35:04 +02:00
parent 1025ac31aa
commit 9eb8878e94
4 changed files with 12 additions and 5 deletions

View File

@ -67,7 +67,7 @@ type Account struct {
// When a timed mute will expire, if applicable. (ISO 8601 Datetime)
MuteExpiresAt string `json:"mute_expires_at,omitempty"`
// An extra entity to be used with API methods to verify credentials and update credentials.
Source *Source `json:"source"`
Source *Source `json:"source,omitempty"`
}
// AccountCreateRequest represents the form submitted during a POST request to /api/v1/accounts.