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:
parent
8371f94d06
commit
e4a0a04829
4 changed files with 9 additions and 4 deletions
3
vendor/code.gitea.io/sdk/gitea/pull.go
generated
vendored
3
vendor/code.gitea.io/sdk/gitea/pull.go
generated
vendored
|
@ -38,6 +38,9 @@ type PullRequest struct {
|
|||
Base *PRBranchInfo `json:"base"`
|
||||
Head *PRBranchInfo `json:"head"`
|
||||
MergeBase string `json:"merge_base"`
|
||||
|
||||
Created *time.Time `json:"created_at"`
|
||||
Updated *time.Time `json:"updated_at"`
|
||||
}
|
||||
|
||||
// PRBranchInfo base branch info when send a PR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue