fix: remove the 'meta' key from the export json
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -14,6 +14,7 @@ def minify_json(input_file, output_file):
|
|||||||
for app in data["apps"]:
|
for app in data["apps"]:
|
||||||
meta = app.get("meta", {})
|
meta = app.get("meta", {})
|
||||||
if not meta.get("excludeFromExport", False):
|
if not meta.get("excludeFromExport", False):
|
||||||
|
app.pop("meta", None) # Exclude the 'meta' key from the export json
|
||||||
filtered_apps.append(app)
|
filtered_apps.append(app)
|
||||||
data["apps"] = filtered_apps
|
data["apps"] = filtered_apps
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user