mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 04:14:01 +01:00 
			
		
		
		
	#2045 have fallback but empty value
This commit is contained in:
		
							parent
							
								
									05ba8622f0
								
							
						
					
					
						commit
						76d4b9288b
					
				@ -115,9 +115,6 @@ func getSlackPushPayload(p *api.PushPayload, slack *SlackMeta) (*SlackPayload, e
 | 
				
			|||||||
	slackAttachments := []SlackAttachment{{
 | 
						slackAttachments := []SlackAttachment{{
 | 
				
			||||||
		Color: slack.Color,
 | 
							Color: slack.Color,
 | 
				
			||||||
		Text:  attachmentText,
 | 
							Text:  attachmentText,
 | 
				
			||||||
	}, {
 | 
					 | 
				
			||||||
		Fallback: fmt.Sprintf("%s pushed %s to %s/%s: %s",
 | 
					 | 
				
			||||||
			p.Pusher, commitDesc, p.Repo.Name, branchName, p.CompareUrl),
 | 
					 | 
				
			||||||
	}}
 | 
						}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return &SlackPayload{
 | 
						return &SlackPayload{
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user