Skip to content

Commit

Permalink
Fix docs on team members
Browse files Browse the repository at this point in the history
  • Loading branch information
N2D4 committed Jun 28, 2024
1 parent 5fece96 commit b9ebd30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/fern/docs/pages/getting-started/teams.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ To list all the members of a team, you can call the `listMembers` method on a se
const team = await stackServerApp.getTeam('teamId');
const members = await team.listMembers();
for (const member of members) {
const user = await member.getUser();
const user = member.user;
console.log(user.displayName, 'is a member of', team.displayName);
}
```
Expand Down

0 comments on commit b9ebd30

Please sign in to comment.