diff options
author | Unknwon <u@gogs.io> | 2015-08-26 21:45:51 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-26 21:45:51 +0800 |
commit | 28814564212b7c64136cc3eda3774af56983557e (patch) | |
tree | c0ea1c8ecb6504241a1d2b4111075ee2b0905470 /models/action.go | |
parent | 1cb03135b745675e614b0b89ab3fde412276fec1 (diff) | |
download | gitea-28814564212b7c64136cc3eda3774af56983557e.tar.gz gitea-28814564212b7c64136cc3eda3774af56983557e.zip |
new webhooks list UI
Diffstat (limited to 'models/action.go')
-rw-r--r-- | models/action.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/action.go b/models/action.go index 2beb42e576..8405084bbe 100644 --- a/models/action.go +++ b/models/action.go @@ -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) } |