Correct the Initialize Team snippet and make the teams object name consistent based on that across the rest of the snippets.
The class for Teams API is Teams() and not Team() as per the docs. I've accordingly changed the object name from team to teams across the rest of the snippets because the object refers to the Teams API and not an individual team.
Testing
Followed the steps to test in the Contributing Guide
Description
Correct the Initialize Team snippet and make the
teams
object name consistent based on that across the rest of the snippets.The class for
Teams
API isTeams()
and notTeam()
as per the docs. I've accordingly changed the object name fromteam
toteams
across the rest of the snippets because the object refers to the Teams API and not an individual team.Testing
Followed the steps to test in the Contributing Guide
Checklist