update layercake

This commit is contained in:
2025-03-26 17:41:10 -03:00
parent 3d6801df70
commit b1e8f19d39
8 changed files with 70 additions and 25 deletions

View File

@@ -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'],