Skip to content

Commit

Permalink
fix has_2fa
Browse files Browse the repository at this point in the history
  • Loading branch information
brunovcosta committed Sep 13, 2024
1 parent 9b066b3 commit 2d1c954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/slack/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def from_dict(json: dict):
is_bot=json["is_bot"],
updated=json["updated"],
is_app_user=json["is_app_user"],
has_2fa=json["has_2fa"],
has_2fa=json.get("has_2fa"),
)

def get_user(user_id: str) -> SlackUser:
Expand Down

0 comments on commit 2d1c954

Please sign in to comment.