Browse Source

Use the right service type

kegan/realm-docs
Kegan Dougal 8 years ago
parent
commit
6d65f77062
  1. 2
      src/github.com/matrix-org/go-neb/services/github/github_webhook.go

2
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,
}
})

Loading…
Cancel
Save