Skip to content

Commit

Permalink
Merge branch 'work_branch' of https://github.com/One-Click-Auth/Trust…
Browse files Browse the repository at this point in the history
…Authx-Py-SDK into work_branch
  • Loading branch information
moonlightnexus committed May 3, 2024
2 parents 3085ea1 + 711d311 commit 3e87ff1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trustauthx/authlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ def remove_role(
rols = []
if isinstance(rol_ids, str):
rols.append(rol_ids)
elif isinstance(rol_ids,list):
elif isinstance(rol_ids, list):
rols = [i for i in rol_ids]
else:
raise TypeError()
Expand Down Expand Up @@ -1108,7 +1108,7 @@ def update_role(
else:
raise TypeError()
rols_rem = []
if isinstance(rol_ids_to_remove,str):
if isinstance(rol_ids_to_remove, str):
rols_rem.append(rol_ids_to_remove)
elif isinstance(rol_ids_to_remove, list):
rols_rem = [i for i in rol_ids_to_remove]
Expand Down

0 comments on commit 3e87ff1

Please sign in to comment.