mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
new webhooks list UI
This commit is contained in:
@@ -445,13 +445,13 @@ func CommitRepoAction(userID, repoUserID int64, userName, actEmail string,
|
||||
|
||||
if err = CreateHookTask(&HookTask{
|
||||
RepoID: repo.ID,
|
||||
HookID: w.Id,
|
||||
HookID: w.ID,
|
||||
Type: w.HookTaskType,
|
||||
Url: w.Url,
|
||||
Url: w.URL,
|
||||
BasePayload: payload,
|
||||
ContentType: w.ContentType,
|
||||
EventType: HOOK_EVENT_PUSH,
|
||||
IsSsl: w.IsSsl,
|
||||
IsSsl: w.IsSSL,
|
||||
}); err != nil {
|
||||
return fmt.Errorf("CreateHookTask: %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user