Skip to content

Commit

Permalink
YDA-5468 - Fixed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kaur16 committed Oct 5, 2023
1 parent 2657ddb commit 4616417
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ def api_group_user_update_role(ctx, username, group_name, new_role):
else:
if sram.sram_update_collaboration_membership(ctx, co_identifier, uid, new_role):
return api.Error('sram_error', 'Something went wrong updating role for {} user.'.format(username))

response = ctx.uuGroupUserChangeRole(group_name, username, new_role, '', '')['arguments']
status = response[3]
message = response[4]
Expand Down
2 changes: 1 addition & 1 deletion sram.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def sram_update_collaboration_membership(ctx, co_identifier, uuid, new_role):

if new_role == 'manager':
role = 'admin'
else:
else:
role = 'member'

payload = {
Expand Down

0 comments on commit 4616417

Please sign in to comment.