Skip to content

Commit 9d710b3

Browse files
committed
Fix: Links - Set tag to correctly encode the response type
1 parent 0f10b98 commit 9d710b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/link.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ type LinkListResponse struct {
563563
// directly decoded from the API response, but is populated in the
564564
// HandleHTTPResponse method, which decodes the response and extracts the
565565
// links from it.
566-
Links []Link `json:"-"`
566+
Links []Link `json:"links"`
567567
}
568568

569569
// HandleHTTPResponse handles the HTTP response for the LinkListResponse. If

0 commit comments

Comments
 (0)