Add create_at and updated_at in PR json (#1616)

* Move new fields to object creation (use reference)
 * Vendor: Update SDK
This commit is contained in:
Jonas Östanbäck 2017-04-27 11:29:46 +02:00 committed by Lunny Xiao
parent 8371f94d06
commit e4a0a04829
4 changed files with 9 additions and 4 deletions

View file

@ -14,7 +14,7 @@ import (
// Release represents a repository release
type Release struct {
ID int64 `json:"id"`
TagName string `json:"name"`
TagName string `json:"tag_name"`
Target string `json:"target_commitish"`
Title string `json:"name"`
Note string `json:"body"`