mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Solved features bug
This commit is contained in:
2
filter_plugins/TODO.md
Normal file
2
filter_plugins/TODO.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# Todos
|
||||
- Refactor all 4 functions to one
|
@@ -14,7 +14,7 @@ def get_oidc_enabled(applications, application_id):
|
||||
|
||||
def get_features_iframe(applications, application_id):
|
||||
app = applications.get(application_id)
|
||||
enabled = app.features.iframe
|
||||
enabled = app.get('features', {}).get('iframe', False)
|
||||
return bool(enabled)
|
||||
|
||||
def get_database_central_storage(applications, application_id):
|
||||
|
Reference in New Issue
Block a user