mean-comscore-api
Advanced tools
Comparing version 0.0.13 to 0.0.14
{ | ||
"name": "mean-comscore-api", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "Loads ComScore reports from the ComScore API", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -39,4 +39,8 @@ 'use strict'; | ||
if (typeof callback === 'function') { | ||
callback(data); | ||
callback(null, data); | ||
} | ||
}).error(function(data, status, headers, config) { | ||
if (typeof callback === 'function') { | ||
callback(new Error(status), data); | ||
} | ||
}); | ||
@@ -48,4 +52,8 @@ }; | ||
if (typeof callback === 'function') { | ||
callback(data); | ||
callback(null, data); | ||
} | ||
}).error(function(data, status, headers, config) { | ||
if (typeof callback === 'function') { | ||
callback(new Error(status), data); | ||
} | ||
}); | ||
@@ -59,3 +67,2 @@ }; | ||
} | ||
]); | ||
]); |
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
21756
622