You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: Slack file download fails — get_bot_token called with wrong argument #237
SlackAdapter.download_file() passes message.metadata.get("team_id") (a string) to get_bot_token(), but get_bot_token() expects the team_id string directly. However, looking at the actual signature, get_bot_token(self, team_id: str) takes a string — so message.metadata.get("team_id") is correct.
The actual bug: on the dev server, get_bot_token is receiving message (the full NormalizedMessage object) instead of message.metadata.get("team_id").
Activity
fix: Slack file download passes wrong arg to get_bot_token (#237)
fix: Slack file download passes wrong arg to get_bot_token (#237) (#238)