Skip to content

Commit dbeef20

Browse files
committed
fix: error in friendship XMLName
1 parent fb39170 commit dbeef20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bridge/bridge.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ type Config struct {
213213

214214
// Used in the /friends/lookup endpoint
215215
type UsersRelationship struct {
216-
XMLName xml.Name `xml:"connections" json:"-"`
216+
XMLName xml.Name `xml:"relationship" json:"-"`
217217
Name string `json:"name" xml:"name"`
218218
IDStr string `json:"id_str" xml:"id_str"`
219219
ID int64 `json:"id" xml:"id"`

0 commit comments

Comments
 (0)