summaryrefslogtreecommitdiffstats
path: root/models/action.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/action.go')
-rw-r--r--models/action.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/action.go b/models/action.go
index 86520b57b1..2c16a575b6 100644
--- a/models/action.go
+++ b/models/action.go
@@ -431,6 +431,8 @@ func CommitRepoAction(userId, repoUserId int64, userName, actEmail string,
}
if err = CreateHookTask(&HookTask{
+ RepoID: repo.Id,
+ HookID: w.Id,
Type: w.HookTaskType,
Url: w.Url,
BasePayload: payload,