File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ func WebHooksNewPost(ctx *context.Context, form auth.NewWebhookForm) {
167167}
168168
169169// GogsHooksNewPost response for creating webhook
170- func GogsHooksNewPost (ctx * context.Context , form auth.NewWebhookForm ) {
170+ func GogsHooksNewPost (ctx * context.Context , form auth.NewGogshookForm ) {
171171 ctx .Data ["Title" ] = ctx .Tr ("repo.settings.add_webhook" )
172172 ctx .Data ["PageIsSettingsHooks" ] = true
173173 ctx .Data ["PageIsSettingsHooksNew" ] = true
@@ -361,7 +361,7 @@ func WebHooksEditPost(ctx *context.Context, form auth.NewWebhookForm) {
361361}
362362
363363// GogsHooksEditPost response for editing gogs hook
364- func GogsHooksEditPost (ctx * context.Context , form auth.NewWebhookForm ) {
364+ func GogsHooksEditPost (ctx * context.Context , form auth.NewGogshookForm ) {
365365 ctx .Data ["Title" ] = ctx .Tr ("repo.settings.update_webhook" )
366366 ctx .Data ["PageIsSettingsHooks" ] = true
367367 ctx .Data ["PageIsSettingsHooksEdit" ] = true
You can’t perform that action at this time.
0 commit comments