Skip to content

Commit

Permalink
Merge pull request #1 from case/patch-1
Browse files Browse the repository at this point in the history
Fixing a typo.
  • Loading branch information
Connor Montgomery committed Jun 12, 2012
2 parents 5349575 + 40963d5 commit be00b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/itunes.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ exports.search = function(query, options, callback) {
optionsString += "&" + item + "=" + encodeURIComponent(options[item]);
}

request("http://itunes.apple.com/search?country=us" + optionsString + "&term=" + encodeURICompoent(query), function(err, response, body) {
request("http://itunes.apple.com/search?country=us" + optionsString + "&term=" + encodeURIComponent(query), function(err, response, body) {
callback( JSON.parse(body) )
})

Expand Down

0 comments on commit be00b8d

Please sign in to comment.