diff options
Diffstat (limited to 'models/action.go')
-rw-r--r-- | models/action.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/action.go b/models/action.go index 1ab38893b0..cffcbaac96 100644 --- a/models/action.go +++ b/models/action.go @@ -448,11 +448,11 @@ func CommitRepoAction(userID, repoUserID int64, userName, actEmail string, RepoID: repo.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) } |