From 73751468496732102c1df3e443d67d64602bda43 Mon Sep 17 00:00:00 2001 From: Sanket Patel Date: Mon, 4 Jun 2018 16:26:03 -0500 Subject: [PATCH] Fix User and PullRequest types --- api_response.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api_response.go b/api_response.go index 01b12b8..48c379d 100644 --- a/api_response.go +++ b/api_response.go @@ -79,7 +79,7 @@ type UserWithNameEmail struct { type User struct { Name string `json:"name"` Email string `json:"emailAddress"` - ID string `json:"id"` + ID int `json:"id"` DisplayName string `json:"displayName"` Active bool `json:"active"` Slug string `json:"slug"` @@ -110,6 +110,7 @@ type PullRequest struct { ID int `json:"id"` Version int `json:"version"` Title string `json:"title"` + Description string `json:"description"` State string `json:"state"` Open bool `json:"open"` Closed bool `json:"closed"`