Skip to content

Commit

Permalink
update to use new API
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinzliu committed Jun 15, 2018
1 parent 31345bd commit a9dae49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/src/orgs_members_add.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ Examples:

query := `mutation AddUserToOrganization(
$organization: ID!,
$usernameOrEmail: String!,
$username: String!,
) {
addUserToOrganization(
organization: $organization,
usernameOrEmail: $usernameOrEmail,
username: $username,
) {
alwaysNil
}
Expand All @@ -48,8 +48,8 @@ Examples:
return (&apiRequest{
query: query,
vars: map[string]interface{}{
"organization": *orgIDFlag,
"usernameOrEmail": *usernameFlag,
"organization": *orgIDFlag,
"username": *usernameFlag,
},
result: &result,
done: func() error {
Expand Down

0 comments on commit a9dae49

Please sign in to comment.