mean-comscore-api
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"name": "mean-comscore-api", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Loads ComScore reports from the ComScore API", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -25,3 +25,3 @@ 'use strict'; | ||
if (req.query.parameters) { | ||
parameters = req.query.parameters.split('|'); | ||
var parameters = req.query.parameters.split('|'); | ||
options.parameters = {}; | ||
@@ -28,0 +28,0 @@ for (var i in parameters) { |
@@ -49,3 +49,2 @@ 'use strict'; | ||
var json = ''; | ||
console.log(url); | ||
https.get(url, function(comScoreResponse) { | ||
@@ -56,3 +55,2 @@ comScoreResponse.on('data', function(chunk) { | ||
comScoreResponse.on('end', function() { | ||
console.log(json); | ||
json = JSON.parse(json); | ||
@@ -59,0 +57,0 @@ if (typeof json.ERROR !== 'undefined') { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21405
615