refac
This commit is contained in:
1 parent
094ed0b48c
commit
3dd44c4f19
1 file changed
+1
-1
@@ -402,7 +402,7 @@ class AccessGrantsTable:
|
|||||||
results = []
|
results = []
|
||||||
for grant_dict in normalized_grants:
|
for grant_dict in normalized_grants:
|
||||||
grant = AccessGrant(
|
grant = AccessGrant(
|
||||||
id=grant_dict["id"],
|
id=str(uuid.uuid4()),
|
||||||
resource_type=resource_type,
|
resource_type=resource_type,
|
||||||
resource_id=resource_id,
|
resource_id=resource_id,
|
||||||
principal_type=grant_dict["principal_type"],
|
principal_type=grant_dict["principal_type"],
|
||||||
|
|||||||
Reference in new issue
Block a user