Compare commits

...

3 Commits

View File

@ -57,7 +57,8 @@ function modifyObj(obj) {
// Check if 'properties.index' exists // Check if 'properties.index' exists
if (obj.properties?.index) { if (obj.properties?.index) {
// Add a new key to indicate transformation // Add a new key to indicate transformation
obj.properties.tranformationStatus = "success"
} }
//else { //else {
// throw new Error("'properties.index' is required but missing..."); // throw new Error("'properties.index' is required but missing...");
@ -84,3 +85,5 @@ Method for generating 256 hash code for a String: