summaryrefslogtreecommitdiffstats
path: root/services/webhook/webhook.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/webhook/webhook.go')
-rw-r--r--services/webhook/webhook.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/webhook/webhook.go b/services/webhook/webhook.go
index bb7a9692d1..607fac9634 100644
--- a/services/webhook/webhook.go
+++ b/services/webhook/webhook.go
@@ -58,6 +58,10 @@ var webhooks = map[webhook_model.HookType]*webhook{
name: webhook_model.WECHATWORK,
payloadCreator: GetWechatworkPayload,
},
+ webhook_model.PACKAGIST: {
+ name: webhook_model.PACKAGIST,
+ payloadCreator: GetPackagistPayload,
+ },
}
// RegisterWebhook registers a webhook