Commit adc51a9b9108a3cf8088393bdd1a68a37504dc09
1 parent
44275e50
Exists in
master
and in
4 other branches
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 | 25 | when Project |
| 26 | 26 | data.merge!({ |
| 27 | 27 | name: model.name, |
| 28 | - path: model.path_with_namespace, | |
| 28 | + path: model.path, | |
| 29 | + path_with_namespace: model.path_with_namespace, | |
| 29 | 30 | project_id: model.id, |
| 30 | 31 | owner_name: model.owner.name, |
| 31 | 32 | owner_email: model.owner.email | ... | ... |