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 @@ -174,7 +174,7 @@ func WebHooksNewPost(ctx *context.Context, form auth.NewWebhookForm) {
174
174
}
175
175
176
176
// GogsHooksNewPost response for creating webhook
177
- func GogsHooksNewPost (ctx * context.Context , form auth.NewWebhookForm ) {
177
+ func GogsHooksNewPost (ctx * context.Context , form auth.NewGogshookForm ) {
178
178
ctx .Data ["Title" ] = ctx .Tr ("repo.settings.add_webhook" )
179
179
ctx .Data ["PageIsSettingsHooks" ] = true
180
180
ctx .Data ["PageIsSettingsHooksNew" ] = true
@@ -420,7 +420,7 @@ func WebHooksEditPost(ctx *context.Context, form auth.NewWebhookForm) {
420
420
}
421
421
422
422
// GogsHooksEditPost response for editing gogs hook
423
- func GogsHooksEditPost (ctx * context.Context , form auth.NewWebhookForm ) {
423
+ func GogsHooksEditPost (ctx * context.Context , form auth.NewGogshookForm ) {
424
424
ctx .Data ["Title" ] = ctx .Tr ("repo.settings.update_webhook" )
425
425
ctx .Data ["PageIsSettingsHooks" ] = true
426
426
ctx .Data ["PageIsSettingsHooksEdit" ] = true
You can’t perform that action at this time.
0 commit comments