express-async-router
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -70,3 +70,3 @@ /// <reference path="_references.d.ts" /> | ||
toCallback(handler.call(this, req, res, next), next, req, res, function (result) { | ||
if (!res.headersSent) { | ||
if (sender && !res.headersSent) { | ||
return sender(req, res, result); | ||
@@ -73,0 +73,0 @@ } |
{ | ||
"name": "express-async-router", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Express Async Router - An Express Router wrapper which automatically manage Promise.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
13307