Skip to content

Commit

Permalink
fix: add missing argument for get_user
Browse files Browse the repository at this point in the history
  • Loading branch information
mamullen13316 committed Sep 9, 2024
1 parent 16cde0b commit d9d485a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sophosfirewall_python/firewallapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def get_user(self, name: str = None, username: str = None, operator: str = "="):
Returns:
dict: XML response converted to Python dictionary
"""
return User(self.client).get(name, operator)
return User(self.client).get(name, username, operator)

def get_admin_profile(self, name: str = None, operator: str = "="):
"""Get admin profiles
Expand Down

0 comments on commit d9d485a

Please sign in to comment.