Skip to content

Commit

Permalink
fix: fctl
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag committed Dec 18, 2023
1 parent f2f78ca commit 429c74c
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

0 comments on commit 429c74c

Please sign in to comment.