Commit e8080fc8 authored by Mike Wyatt's avatar Mike Wyatt

Fix error in Asana service

parent 4c1f1c2c
...@@ -87,9 +87,9 @@ http://developer.asana.com/documentation/#api_keys' ...@@ -87,9 +87,9 @@ http://developer.asana.com/documentation/#api_keys'
user = data[:user_name] user = data[:user_name]
project_name = project.name_with_namespace project_name = project.name_with_namespace
push_msg = "#{user} pushed to branch #{branch} of #{project_name} ( #{commit[:url]} )"
data[:commits].each do |commit| data[:commits].each do |commit|
push_msg = "#{user} pushed to branch #{branch} of #{project_name} ( #{commit[:url]} )"
check_commit(commit[:message], push_msg) check_commit(commit[:message], push_msg)
end end
end end
......
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