From 59112b6531a4fc6796b6a45c423b2f4c9838032a Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Wed, 20 Jun 2018 18:31:50 -0400 Subject: [PATCH] Fix JSON property for Link's Rel field Previously the Rel field would come out as `ref` in the JSON, instead of `rel` --- link.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/link.go b/link.go index 037ab78..664f288 100644 --- a/link.go +++ b/link.go @@ -4,7 +4,7 @@ package webfinger type Link struct { HRef string `json:"href"` Type string `json:"type,omitempty"` - Rel string `json:"ref"` + Rel string `json:"rel"` Properties map[string]*string `json:"properties,omitempty"` Titles map[string]string `json:"titles,omitempty"` }