Renamed Source to AccountSource

This commit is contained in:
buckket 2019-05-14 04:21:14 +02:00
parent 02b7c8a606
commit 48b1a1eee8
No known key found for this signature in database
GPG key ID: 06C09618D395A6CD
2 changed files with 4 additions and 4 deletions

View file

@ -39,8 +39,8 @@ type Field struct {
VerifiedAt time.Time `json:"verified_at"`
}
// Source is a Mastodon account profile field
type Source struct {
// AccountSource is a Mastodon account profile field.
type AccountSource struct {
Privacy string `json:"privacy"`
Sensitive *bool `json:"sensitive"`
Language string `json:"language"`
@ -76,7 +76,7 @@ type Profile struct {
Note *string
Locked *bool
Fields *[]Field
Source *Source
Source *AccountSource
// Set the base64 encoded character string of the image.
Avatar string