Skip to content

Commit

Permalink
Fix input parameters for get credentials get environment group
Browse files Browse the repository at this point in the history
  • Loading branch information
dlpzx committed Apr 19, 2024
1 parent d4819ef commit 38cd977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/dataall/core/environment/api/resolvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def _get_environment_group_aws_session(session, username, groups, environment, g
message=f'User: {username} is not member of the environment admins team {environment.SamlGroupName}',
)
else:
env_group = EnvironmentService.get_environment_group(session, environment.environmentUri, groupUri)
env_group = EnvironmentService.get_environment_group(session, groupUri, environment.environmentUri)
if not env_group:
raise exceptions.UnauthorizedOperation(
action='ENVIRONMENT_AWS_ACCESS',
Expand Down

0 comments on commit 38cd977

Please sign in to comment.