Solved get bug

This commit is contained in:
Kevin Veen-Birkenbach 2025-04-27 18:10:31 +02:00
parent 6c1c728acb
commit fb96c5b7fb
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E

View File

@ -13,7 +13,7 @@ def get_oidc_enabled(applications, application_id):
return bool(enabled)
def get_features_iframe(applications, application_id):
app = applications.get(application_id)
app = applications.get(application_id, {})
enabled = app.get('features', {}).get('iframe', False)
return bool(enabled)