periodicjs.core.controller
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -274,3 +274,3 @@ /* | ||
var err = options.err, | ||
errormessage = (typeof options.err === 'string') ? options.err : options.err.message, | ||
errormessage = (typeof options.err === 'string' || typeof options.err.toString() === 'string') ? options.err : options.err.message, | ||
redirecturl = options.redirecturl, | ||
@@ -282,3 +282,3 @@ req = options.req, | ||
if (res.statusCode !== 200 || res.statusCode !== 400) { | ||
if (res.statusCode !== 200 && res.statusCode !== 400) { | ||
res.status(res.statusCode); | ||
@@ -285,0 +285,0 @@ } |
{ | ||
"name": "periodicjs.core.controller", | ||
"description": "Customizable CMS platform", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "engines": { |
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
139792