aboutsummaryrefslogtreecommitdiffstats
path: root/models/action.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-07-25 21:32:04 +0800
committerUnknwon <u@gogs.io>2015-07-25 21:32:04 +0800
commitfa298a2c30c358dbfa47fc123c6aca83fe9eb999 (patch)
tree2179828e8b7c8ebafe3121506f26d52cb0350c63 /models/action.go
parent2b1442f3dfa3558f4e1a9dd5b1dbb50cf348e6e0 (diff)
downloadgitea-fa298a2c30c358dbfa47fc123c6aca83fe9eb999.tar.gz
gitea-fa298a2c30c358dbfa47fc123c6aca83fe9eb999.zip
#835: Realtime webhooks
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,