summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-10-31 15:36:15 +0000
committerRémy Coutable <remy@rymai.me>2017-10-31 15:36:15 +0000
commita479362d51e3668188ec84217fa31821a1a192ae (patch)
treeb514047c5e2a4e87772b003f3d579088ee816c87 /app
parentbb43bb8f9b299f596bddfff893ee19433be95fdc (diff)
parent2cad283018b337c277cc386ded295a1cc5cc95a3 (diff)
downloadgitlab-ce-a479362d51e3668188ec84217fa31821a1a192ae.tar.gz
Merge branch '31454-missing-project-id-pipeline-hook-data' into 'master'
Adds project_id to pipeline hook data Closes #31454 See merge request gitlab-org/gitlab-ce!15044
Diffstat (limited to 'app')
-rw-r--r--app/models/project.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index a494193c2d7..413866b994a 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -1092,6 +1092,7 @@ class Project < ActiveRecord::Base
def hook_attrs(backward: true)
attrs = {
+ id: id,
name: name,
description: description,
web_url: web_url,