From 23f42d92c917564435a00e8e75633b8056bd7b0d Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 27 Aug 2015 23:06:14 +0800 Subject: add webhook recent deliveries --- models/action.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models/action.go') diff --git a/models/action.go b/models/action.go index 1ab38893..cffcbaac 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) } -- cgit v1.2.3