Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Commit

Permalink
Updating service to properly fetch the product_id from data hash.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinabrahms committed Aug 31, 2012
1 parent 9ecad6f commit ed4c3b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/sprintly.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def receive_event

http.headers['Content-Type'] = 'application/json'
http.basic_auth(data['email'], data['api_key'])
http.url_prefix = "https://sprint.ly/integration/github/#{product_id}/#{event}/"
http.url_prefix = "https://sprint.ly/integration/github/#{data['product_id']}/#{event}/"

http_post data['api_key'], payload.to_json
end
Expand Down

0 comments on commit ed4c3b5

Please sign in to comment.