We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4ffe0f commit ea2e18bCopy full SHA for ea2e18b
src/main/java/com/contentstack/utils/presets/Constant.java
@@ -45,10 +45,6 @@ protected static JSONObject validator(JSONObject asset) {
45
if (!asset.containsKey("_metadata")) {
46
throwException(asset, "_metadata keys not found");
47
}
48
-// JSONObject localMetadata = (JSONObject) asset.get("_metadata");
49
-// if (!asset.containsKey("extensions")) {
50
-// throwException(localMetadata, "extensions not present in the object");
51
-// }
52
return (JSONObject) asset.get("_metadata");
53
54
0 commit comments