Commit adc51a9b9108a3cf8088393bdd1a68a37504dc09

Authored by Dmitriy Zaporozhets
1 parent 44275e50

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

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/services/system_hooks_service.rb
@@ -25,7 +25,8 @@ class SystemHooksService @@ -25,7 +25,8 @@ class SystemHooksService
25 when Project 25 when Project
26 data.merge!({ 26 data.merge!({
27 name: model.name, 27 name: model.name,
28 - path: model.path_with_namespace, 28 + path: model.path,
  29 + path_with_namespace: model.path_with_namespace,
29 project_id: model.id, 30 project_id: model.id,
30 owner_name: model.owner.name, 31 owner_name: model.owner.name,
31 owner_email: model.owner.email 32 owner_email: model.owner.email