@sap-ux/fe-mockserver-core
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -261,3 +261,9 @@ "use strict"; | ||
const retrievedData = await this.dataAccess.getData(this); | ||
this.setResponseData(retrievedData); | ||
if (!retrievedData) { | ||
this.statusCode = 404; | ||
this.setResponseData(''); | ||
} | ||
else { | ||
this.setResponseData(retrievedData); | ||
} | ||
} | ||
@@ -264,0 +270,0 @@ else { |
{ | ||
"name": "@sap-ux/fe-mockserver-core", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "SAP Fiori OData - Fiori elements mock server core", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
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
398950
4763