Commit adc51a9b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Use separate property for project path and project path with namespace inside system hook

parent 44275e50
...@@ -25,7 +25,8 @@ class SystemHooksService ...@@ -25,7 +25,8 @@ class SystemHooksService
when Project when Project
data.merge!({ data.merge!({
name: model.name, name: model.name,
path: model.path_with_namespace, path: model.path,
path_with_namespace: model.path_with_namespace,
project_id: model.id, project_id: model.id,
owner_name: model.owner.name, owner_name: model.owner.name,
owner_email: model.owner.email owner_email: model.owner.email
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment