mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	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:
		
				
					committed by
					
						
						Lunny Xiao
					
				
			
			
				
	
			
			
			
						parent
						
							8371f94d06
						
					
				
				
					commit
					e4a0a04829
				
			@@ -197,6 +197,8 @@ func (pr *PullRequest) APIFormat() *api.PullRequest {
 | 
			
		||||
		Base:      apiBaseBranchInfo,
 | 
			
		||||
		Head:      apiHeadBranchInfo,
 | 
			
		||||
		MergeBase: pr.MergeBase,
 | 
			
		||||
		Created:   &pr.Issue.Created,
 | 
			
		||||
		Updated:   &pr.Issue.Updated,
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if pr.Status != PullRequestStatusChecking {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user