From 6d65f770624b4fd8e9b9a684fb9efdd21d282b63 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Fri, 4 Nov 2016 13:53:28 +0000 Subject: [PATCH] Use the right service type --- .../matrix-org/go-neb/services/github/github_webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/go-neb/services/github/github_webhook.go b/src/github.com/matrix-org/go-neb/services/github/github_webhook.go index eca1a3e..c7c00b2 100644 --- a/src/github.com/matrix-org/go-neb/services/github/github_webhook.go +++ b/src/github.com/matrix-org/go-neb/services/github/github_webhook.go @@ -433,7 +433,7 @@ func (s *WebhookService) loadRealm() (types.AuthRealm, error) { func init() { types.RegisterService(func(serviceID, serviceUserID, webhookEndpointURL string) types.Service { return &WebhookService{ - DefaultService: types.NewDefaultService(serviceID, serviceUserID, ServiceType), + DefaultService: types.NewDefaultService(serviceID, serviceUserID, WebhookServiceType), webhookEndpointURL: webhookEndpointURL, } })