Skip to content

Commit

Permalink
Add a comment regarding the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arkid15r committed Jan 5, 2025
1 parent 7ae264b commit d0959cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/apps/slack/events/team_join.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def handler(event, client, ack):
if not settings.SLACK_EVENTS_ENABLED:
return

user_id = event["user"]["id"]
user_id = event["user"]["id"] # User object is returned -- other events return just the ID!
try:
conversation = client.conversations_open(users=user_id)
except SlackApiError as e:
Expand Down

0 comments on commit d0959cf

Please sign in to comment.