@@ -554,6 +554,7 @@ func RegisterRoutes(m *web.Route) {
554554 m .Post ("/matrix/new" , bindIgnErr (forms.NewMatrixHookForm {}), repo .MatrixHooksNewPost )
555555 m .Post ("/msteams/new" , bindIgnErr (forms.NewMSTeamsHookForm {}), repo .MSTeamsHooksNewPost )
556556 m .Post ("/feishu/new" , bindIgnErr (forms.NewFeishuHookForm {}), repo .FeishuHooksNewPost )
557+ m .Post ("/wechatwork/new" , bindIgnErr (forms.NewWechatWorkHookForm {}), repo .WechatworkHooksNewPost )
557558 m .Get ("/{id}" , repo .WebHooksEdit )
558559 m .Post ("/gitea/{id}" , bindIgnErr (forms.NewWebhookForm {}), repo .WebHooksEditPost )
559560 m .Post ("/gogs/{id}" , bindIgnErr (forms.NewGogshookForm {}), repo .GogsHooksEditPost )
@@ -564,6 +565,7 @@ func RegisterRoutes(m *web.Route) {
564565 m .Post ("/matrix/{id}" , bindIgnErr (forms.NewMatrixHookForm {}), repo .MatrixHooksEditPost )
565566 m .Post ("/msteams/{id}" , bindIgnErr (forms.NewMSTeamsHookForm {}), repo .MSTeamsHooksEditPost )
566567 m .Post ("/feishu/{id}" , bindIgnErr (forms.NewFeishuHookForm {}), repo .FeishuHooksEditPost )
568+ m .Post ("/wechatwork/{id}" , bindIgnErr (forms.NewWechatWorkHookForm {}), repo .WechatworkHooksEditPost )
567569 }, webhooksEnabled )
568570
569571 m .Group ("/labels" , func () {
0 commit comments