mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-28 10:26:54 +02:00
Solved get bug
This commit is contained in:
parent
6c1c728acb
commit
fb96c5b7fb
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user