-
Notifications
You must be signed in to change notification settings - Fork 614
[BUG][AUTH]: team_id from token can be a dict #1486
Copy link
Copy link
Labels
Milestone
Description
🐞 Bug Summary
When calling an API endpoint that attempts to extract the team_id from the token, the team_id field on the request can incorrectly be set to a dict representation of the full team spec rather than just the id string.
The bug was introduced in #1460. The specific problem is here where the value of payload.get("teams")[0] can return the full team object rather than just the id.
Reactions are currently unavailable