From d18b8e445f55a84021dae3f519aecf4c80d4ec79 Mon Sep 17 00:00:00 2001 From: Glenn Lewis Date: Fri, 4 Mar 2016 14:01:38 -0800 Subject: [PATCH] go-github: fix PageBuildEvent unmarshaling Change-Id: I385c22c290dd550c37ee7b3632a1a690cfaa36d7 --- github/event_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/event_types.go b/github/event_types.go index 4e2615e..ca0ba6c 100644 --- a/github/event_types.go +++ b/github/event_types.go @@ -217,7 +217,7 @@ type PageBuildEvent struct { Build *PagesBuild `json:"build,omitempty"` // The following fields are only populated by Webhook events. - ID *string `json:"id,omitempty"` + ID *int `json:"id,omitempty"` Repo *Repository `json:"repository,omitempty"` Sender *User `json:"sender,omitempty"` }