Skip to content

Commit e352709

Browse files
domsubluekeyes
authored andcommitted
Fixed nil pointer dereference (#23)
1 parent f84c071 commit e352709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

githubapp/dispatcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ type eventDispatcher struct {
9696
// dispatcher from configuration using the default error and response
9797
// callbacks.
9898
func NewDefaultEventDispatcher(c Config, handlers ...EventHandler) http.Handler {
99-
return NewEventDispatcher(handlers, c.App.WebhookSecret, nil)
99+
return NewEventDispatcher(handlers, c.App.WebhookSecret)
100100
}
101101

102102
// NewEventDispatcher creates an http.Handler that dispatches GitHub webhook

0 commit comments

Comments
 (0)