Solved features bug

This commit is contained in:
Kevin Veen-Birkenbach 2025-04-21 18:28:35 +02:00
parent b0dd574c26
commit 3eb9163412
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
4 changed files with 7 additions and 5 deletions

2
filter_plugins/TODO.md Normal file
View File

@ -0,0 +1,2 @@
# Todos
- Refactor all 4 functions to one

View File

@ -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):