Comparing version 2.0.30 to 2.0.31
@@ -33,3 +33,3 @@ "use strict"; | ||
if (!result) | ||
return res.writeHead(200, { 'Content-Type': 'application/json' }).end(JSON.stringify(`{}`)); | ||
return res.writeHead(200, { 'Content-Type': 'application/json' }).end(JSON.stringify({})); | ||
if (result?.error) { | ||
@@ -36,0 +36,0 @@ config?.errorHandler?.({ error: result.error, path: path }); |
{ | ||
"name": "bridge", | ||
"version": "2.0.30", | ||
"version": "2.0.31", | ||
"description": "Bridge is a Typescript Node.js framework that provides an easy and scalable way to create REST APIs while generating the client code.", | ||
@@ -5,0 +5,0 @@ "author": "Bridge Team <support@bridge.codes>", |
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
114528