mean-comscore-api
Advanced tools
Comparing version 0.0.11 to 0.0.12
{ | ||
"name": "mean-comscore-api", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Loads ComScore reports from the ComScore API", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -40,3 +40,3 @@ 'use strict'; | ||
if (!err && value && value[cacheId]) { | ||
res.json(value[cacheId]); | ||
res.jsonp(value[cacheId]); | ||
} else { | ||
@@ -46,3 +46,3 @@ comscoreReport.getReport(options, function(err, json) { | ||
res.status(400); | ||
res.json({ | ||
res.jsonp({ | ||
error: err | ||
@@ -67,3 +67,3 @@ }); | ||
if (!err && value && value[cacheId]) { | ||
res.json(value[cacheId]); | ||
res.jsonp(value[cacheId]); | ||
} else { | ||
@@ -73,3 +73,3 @@ comscoreReport.getReportData(options, function(err, json) { | ||
res.status(400); | ||
res.json({ | ||
res.jsonp({ | ||
error: err | ||
@@ -76,0 +76,0 @@ }); |
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
21410