Fix error in Asana service

This commit is contained in:
Mike Wyatt 2015-12-29 16:00:36 -04:00
parent 4c1f1c2c91
commit e8080fc8fb

View file

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