Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…nto dev
  • Loading branch information
GabrielGodoy01 committed Oct 9, 2024
2 parents 29bb1b5 + bd0da79 commit 488427e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/infra/repositories/user_repository_cognito.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def add_user_to_system(self, user_email: str, system: str) -> None:

def remove_user_from_system(self, user_email: str, system: str) -> None:
try:
self.client.remove_user_from_group(
self.client.admin_remove_user_from_group(
UserPoolId=self.user_pool_id,
Username=user_email,
GroupName=system
Expand Down

0 comments on commit 488427e

Please sign in to comment.