Fix syntax error
This commit is contained in:
parent
c8e7928e34
commit
afb8ecc3d1
1 changed files with 7 additions and 5 deletions
|
@ -15,11 +15,13 @@ module MergeRequestsHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def new_mr_from_push_event(event, target_project)
|
def new_mr_from_push_event(event, target_project)
|
||||||
return merge_request: {
|
return {
|
||||||
source_project_id: event.project.id,
|
merge_request: {
|
||||||
target_project_id: target_project.id,
|
source_project_id: event.project.id,
|
||||||
source_branch: event.branch_name,
|
target_project_id: target_project.id,
|
||||||
target_branch: target_project.repository.root_ref
|
source_branch: event.branch_name,
|
||||||
|
target_branch: target_project.repository.root_ref
|
||||||
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue