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) {
167
167
}
168
168
169
169
// GogsHooksNewPost response for creating webhook
170
- func GogsHooksNewPost (ctx * context.Context , form auth.NewWebhookForm ) {
170
+ func GogsHooksNewPost (ctx * context.Context , form auth.NewGogshookForm ) {
171
171
ctx .Data ["Title" ] = ctx .Tr ("repo.settings.add_webhook" )
172
172
ctx .Data ["PageIsSettingsHooks" ] = true
173
173
ctx .Data ["PageIsSettingsHooksNew" ] = true
@@ -361,7 +361,7 @@ func WebHooksEditPost(ctx *context.Context, form auth.NewWebhookForm) {
361
361
}
362
362
363
363
// GogsHooksEditPost response for editing gogs hook
364
- func GogsHooksEditPost (ctx * context.Context , form auth.NewWebhookForm ) {
364
+ func GogsHooksEditPost (ctx * context.Context , form auth.NewGogshookForm ) {
365
365
ctx .Data ["Title" ] = ctx .Tr ("repo.settings.update_webhook" )
366
366
ctx .Data ["PageIsSettingsHooks" ] = true
367
367
ctx .Data ["PageIsSettingsHooksEdit" ] = true
You can’t perform that action at this time.
0 commit comments