From 3a1d485aee50f96ff27b57e70843101fa8f37403 Mon Sep 17 00:00:00 2001 From: Tobias Schmidt Date: Fri, 6 Jun 2014 20:58:03 -0400 Subject: [PATCH] Fix PushEvent JSON representation of size attribute --- github/activity_events.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/activity_events.go b/github/activity_events.go index 422649b..54c369f 100644 --- a/github/activity_events.go +++ b/github/activity_events.go @@ -47,7 +47,7 @@ type PushEvent struct { PushID *int `json:"push_id,omitempty"` Head *string `json:"head,omitempty"` Ref *string `json:"ref,omitempty"` - Size *int `json:"ref,omitempty"` + Size *int `json:"size,omitempty"` Commits []PushEventCommit `json:"commits,omitempty"` Repo *Repository `json:"repository,omitempty"` }