mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	fix orgnization webhooks (#2422)
* fix org webhooks * remove trace code
This commit is contained in:
		@@ -396,7 +396,7 @@ func RegisterRoutes(m *macaron.Macaron) {
 | 
			
		||||
					m.Post("/gitea/new", bindIgnErr(auth.NewWebhookForm{}), repo.WebHooksNewPost)
 | 
			
		||||
					m.Post("/gogs/new", bindIgnErr(auth.NewGogshookForm{}), repo.GogsHooksNewPost)
 | 
			
		||||
					m.Post("/slack/new", bindIgnErr(auth.NewSlackHookForm{}), repo.SlackHooksNewPost)
 | 
			
		||||
					m.Post("/discord/new", bindIgnErr(auth.NewDiscordHookForm{}), repo.DiscordHooksEditPost)
 | 
			
		||||
					m.Post("/discord/new", bindIgnErr(auth.NewDiscordHookForm{}), repo.DiscordHooksNewPost)
 | 
			
		||||
					m.Get("/:id", repo.WebHooksEdit)
 | 
			
		||||
					m.Post("/gitea/:id", bindIgnErr(auth.NewWebhookForm{}), repo.WebHooksEditPost)
 | 
			
		||||
					m.Post("/gogs/:id", bindIgnErr(auth.NewGogshookForm{}), repo.GogsHooksEditPost)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user