Skip to content

Commit a0c533e

Browse files
committed
feat: update role.py
1 parent 276f6d4 commit a0c533e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/python/package/role.py.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class Role:
1818
@staticmethod
1919
def team(id, role = ""):
2020
if role:
21-
return f'team:{id}'
22-
return f'team:{id}/{role}'
21+
return f'team:{id}/{role}'
22+
return f'team:{id}'
2323

2424
@staticmethod
2525
def status(status):

0 commit comments

Comments
 (0)