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

@ -96,7 +96,7 @@ func TestAccountUpdate(t *testing.T) {
}
tbool := true
fields := []Field{{"foo", "bar", time.Time{}}, {"dum", "baz", time.Time{}}}
source := Source{Language: "de", Privacy: "public", Sensitive: &tbool}
source := AccountSource{Language: "de", Privacy: "public", Sensitive: &tbool}
a, err := client.AccountUpdate(context.Background(), &Profile{
DisplayName: String("display_name"),
Note: String("note"),