mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	#12, add/edit hook
This commit is contained in:
		@@ -334,6 +334,7 @@ func WebHooksNewPost(ctx *middleware.Context, form auth.NewWebhookForm) {
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// FIXME: code too old here, sync with APIs
 | 
			
		||||
	ct := models.JSON
 | 
			
		||||
	if form.ContentType == "2" {
 | 
			
		||||
		ct = models.FORM
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user