add middleware
This commit is contained in:
@@ -33,8 +33,8 @@ def settings():
|
||||
|
||||
return {
|
||||
'acls': acls['items'],
|
||||
# Note: ensure compatibility with search on React's tenant menu
|
||||
'tenants': [x | {'id': x['sk']} for x in tenants['items']],
|
||||
# Note: Ensure compatibility with search on React's tenant menu
|
||||
'tenants': [x | {'id': x['sk'], 'sk': '0'} for x in tenants['items']],
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user