mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
This commit is contained in:
		@@ -383,7 +383,7 @@ func TestWebhook(ctx *context.Context) {
 | 
			
		||||
		Pusher: apiUser,
 | 
			
		||||
		Sender: apiUser,
 | 
			
		||||
	}
 | 
			
		||||
	if err := models.PrepareWebhooks(ctx.Repo.Repository, models.HOOK_EVENT_PUSH, p); err != nil {
 | 
			
		||||
	if err := models.PrepareWebhooks(ctx.Repo.Repository, models.HookEventPush, p); err != nil {
 | 
			
		||||
		ctx.Flash.Error("PrepareWebhooks: " + err.Error())
 | 
			
		||||
		ctx.Status(500)
 | 
			
		||||
	} else {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user