Skip to content

Commit

Permalink
fix: fctl membership client (#1027)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag authored Dec 18, 2023
1 parent dd17c29 commit 1fbbcd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/fctl/cmd/cloud/organizations/users/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (c *UpdateController) Run(cmd *cobra.Command, args []string) (fctl.Renderab
roles := []string{}
roles = append(roles, args[1:]...)

response, err := apiClient.DefaultApi.UpdateOrganizationUser(
response, err := apiClient.DefaultApi.UpsertOrganizationUser(
cmd.Context(),
organizationID,
args[0]).RequestBody(roles).Execute()
Expand Down

1 comment on commit 1fbbcd5

@vercel
Copy link

@vercel vercel bot commented on 1fbbcd5 Dec 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.