nodebb-plugin-freelog
Advanced tools
Comparing version 0.0.14 to 0.0.15
10
index.js
@@ -52,6 +52,10 @@ const plugin = {}; | ||
headers: { 'content-type': 'application/json' } | ||
}).then(next); | ||
}).then(data => next(null, data)).catch(error => next(error)); | ||
}, | ||
function(data) { | ||
console.log(data.status, data.data.toString()); | ||
function(error, data) { | ||
if (error) { | ||
console.log(error); | ||
} else { | ||
console.log(data.status, data.data.toString()); | ||
} | ||
} | ||
@@ -58,0 +62,0 @@ ]); |
@@ -5,3 +5,3 @@ { | ||
"description": "NodeBB Forum", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"homepage": "http://www.nodebb.org", | ||
@@ -8,0 +8,0 @@ "repository": { |
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
5415
131