Commit 7c296bac authored by Jo Sama's avatar Jo Sama 😱
Browse files

Return variable, not its type :'(

parent 5983b0b8
......@@ -393,7 +393,7 @@ class TopDeskClient:
@staticmethod
def _select_group_id_by_type(group: Union[OperatorGroup, PermissionGroup, str]):
if isinstance(group, str):
return str
return group
else:
return group.id
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment