{"push_id":810994710,"size":1,"distinct_size":1,"ref":"refs/heads/peter-fogg/fix-team-membership-count","head":"e8992b1482e102c0e2863dace0dc1772a1549393","before":"e338932c1da89b92c5bc006c7a9151611fb5c29d","commits":[{"sha":"e8992b1482e102c0e2863dace0dc1772a1549393","author":{"email":"a513d8417ac2a7333a05712f1eb28684926dece3@edx.org","name":"Peter Fogg"},"message":"Fix displaying wrong membership on \"My Team\" view.\n\nThe heart of this fix is to change the \"My Team\" view to use a\ncollection of teams instead of memberships. The team card is\nrefactored to only take a team, rather than attempt to be polymorphic\nover teams and team memberships. This change enabled removing a good\namount of old code. This also requires adding a `username` parameter\nto the teams list endpoint which allows getting a list of all teams\nfor a single user, in order to allow refreshing the \"My Teams\" view\ncorrectly. Currently this list is of length at most one.\n\nTNL-3410","distinct":true,"url":"https://api.github.com/repos/edx/edx-platform/commits/e8992b1482e102c0e2863dace0dc1772a1549393"}]}