update layercake
This commit is contained in:
@@ -22,9 +22,14 @@ LIMIT = 25
|
||||
@router.get('/')
|
||||
def me():
|
||||
user: AuthenticatedUser = router.context['user']
|
||||
|
||||
acls = collect.get_items(KeyPair(user.id, PrefixKey('acls#')), limit=LIMIT)
|
||||
workspaces = collect.get_items(KeyPair(user.id, PrefixKey('orgs#')), limit=LIMIT)
|
||||
acls = collect.get_items(
|
||||
KeyPair(user.id, PrefixKey('acls#')),
|
||||
limit=LIMIT,
|
||||
)
|
||||
workspaces = collect.get_items(
|
||||
KeyPair(user.id, PrefixKey('orgs#')),
|
||||
limit=LIMIT,
|
||||
)
|
||||
|
||||
return {
|
||||
'acls': acls['items'],
|
||||
|
||||
Reference in New Issue
Block a user