diff options
Diffstat (limited to 'gn_auth/auth/authorisation/resources/data.py')
-rw-r--r-- | gn_auth/auth/authorisation/resources/data.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gn_auth/auth/authorisation/resources/data.py b/gn_auth/auth/authorisation/resources/data.py index 8f5e625..54c500a 100644 --- a/gn_auth/auth/authorisation/resources/data.py +++ b/gn_auth/auth/authorisation/resources/data.py @@ -22,8 +22,7 @@ def __attach_data__( } organised: dict[UUID, tuple[dict, ...]] = reduce(__organise__, data_rows, {}) return tuple( - Resource( - resource.group, resource.resource_id, resource.resource_name, - resource.resource_category, resource.public, - organised.get(resource.resource_id, tuple())) + Resource(resource.resource_id, resource.resource_name, + resource.resource_category, resource.public, + organised.get(resource.resource_id, tuple())) for resource in resources) |