Skip to content

Commit

Permalink
new users to users team
Browse files Browse the repository at this point in the history
  • Loading branch information
kosta709 committed Oct 19, 2020
1 parent 0a54691 commit deda752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (client *Client) AddUserToTeamByAdmin(userID string, accountID string, team
}
// new Client for accountAdmin
accountAdminClient := NewClient(client.Host, accountAdminToken, "x-access-token")
usersTeam, err := accountAdminClient.GetTeamByName("users")
usersTeam, err := accountAdminClient.GetTeamByName(team)
if err != nil {
return err
}
Expand Down

0 comments on commit deda752

Please sign in to comment.