@soliantconsulting/fm-mock-server
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -9,3 +9,3 @@ import { z } from "zod"; | ||
console.error(bodyParseResult.error); | ||
context.body = { code: 1, resultParameter: "" }; | ||
context.body = { scriptResult: { code: 1, resultParameter: "" } }; | ||
return; | ||
@@ -19,8 +19,10 @@ } | ||
console.error(error); | ||
context.body = { code: 1, resultParameter: "" }; | ||
context.body = { scriptResult: { code: 1, resultParameter: "" } }; | ||
return; | ||
} | ||
context.body = { | ||
code: 0, | ||
resultParameter: JSON.stringify(scriptResult), | ||
scriptResult: { | ||
code: 0, | ||
resultParameter: JSON.stringify(scriptResult), | ||
}, | ||
}; | ||
@@ -27,0 +29,0 @@ }; |
{ | ||
"name": "@soliantconsulting/fm-mock-server", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Mock server for FileMaker OData script calls", | ||
@@ -5,0 +5,0 @@ "type": "module", |
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
15696
227