diff --git a/en/asgardeo/features.json b/en/asgardeo/features.json index 92491d623a..ecb7d6438d 100644 --- a/en/asgardeo/features.json +++ b/en/asgardeo/features.json @@ -3,14 +3,5 @@ "enabled": false, "page": [ ] - }, - - "asgardeo_events": { - "enabled": false, - "page": [ - "guides/monitoring/asgardeo-events.md" - ] } - - } diff --git a/en/asgardeo/hooks.py b/en/asgardeo/hooks.py index 9dfd9d2485..f2e5708532 100644 --- a/en/asgardeo/hooks.py +++ b/en/asgardeo/hooks.py @@ -19,7 +19,7 @@ def parse_json(file_path): files_to_remove = parse_json(os.path.join(os.getcwd(), 'features.json')) def on_files(files, config): - if os.getenv("ENABLE_HOOKS"): + if os.getenv("ENABLE_HOOKS") == "true": for file in list(files): if file.src_uri in files_to_remove['page']: files.remove(file)