@wix/be-server
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -51,6 +51,4 @@ const http = require('http'); | ||
async function execute(route, res, request, body) { | ||
async function execute(route, res, request, body = {}) { | ||
const requestMessage = route.requestMessage; | ||
console.log(request, body); | ||
@@ -57,0 +55,0 @@ const message = requestMessage.fromValue([request, body]); |
{ | ||
"name": "@wix/be-server", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"author": "Mantas Indrašius <mantasi@wix.com>", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -56,3 +56,3 @@ const beServer = require('..'); | ||
it.only('should post typed message', async() => { | ||
it('should post typed message', async() => { | ||
const response = await fetch('http://localhost:9901/api/echo/i-am-a-string?int=99', { | ||
@@ -59,0 +59,0 @@ method: 'POST', |
Sorry, the diff of this file is not supported yet
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
14052
385