Skip to content

Commit deda752

Browse files
committed
new users to users team
1 parent 0a54691 commit deda752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func (client *Client) AddUserToTeamByAdmin(userID string, accountID string, team
135135
}
136136
// new Client for accountAdmin
137137
accountAdminClient := NewClient(client.Host, accountAdminToken, "x-access-token")
138-
usersTeam, err := accountAdminClient.GetTeamByName("users")
138+
usersTeam, err := accountAdminClient.GetTeamByName(team)
139139
if err != nil {
140140
return err
141141
}

0 commit comments

Comments
 (0)