effects-as-data-server
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "effects-as-data-server", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A simple server for effects-as-data", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -44,3 +44,3 @@ const { call } = require("effects-as-data"); | ||
if (ctx.body === undefined && ctx.status === 404) { | ||
ctx.status = result.status; | ||
ctx.status = result.status || 200; | ||
ctx.headers = result.headers || ctx.headers; | ||
@@ -47,0 +47,0 @@ // set cookies |
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
11323