Skip to content

Commit c22ee61

Browse files
committed
Cast the set to a list so it's JSON serializeable
1 parent fb3f898 commit c22ee61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

project/access/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ def resolve_acl(atypes):
2323
for at in atypes:
2424
ret['bits'] |= 1 << at.bit
2525
ret['externals'].add(at.external_id)
26+
ret['externals'] = list(ret['externals'])
2627
return ret

0 commit comments

Comments
 (0)