Skip to content

Commit 46c0824

Browse files
Update models/webhook/webhook.go
Co-authored-by: wxiaoguang <[email protected]> Signed-off-by: Kerwin Bryant <[email protected]>
1 parent 94225ed commit 46c0824

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

models/webhook/webhook.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ func DefaultMetaSettings() MetaSettings {
4848

4949
// DefaultPayloadConfig returns the default payload configuration
5050
func DefaultPayloadConfig() PayloadConfig {
51-
return PayloadConfig{
52-
Files: PayloadConfigItem{Enable: false, Limit: 0},
53-
Commits: PayloadConfigItem{Enable: false, Limit: 0},
54-
}
51+
return PayloadConfig{}
5552
}
5653

5754
// ErrWebhookNotExist represents a "WebhookNotExist" kind of error.

0 commit comments

Comments
 (0)