Skip to content

Commit

Permalink
bug: fixes url for authconfig patch #148
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Nov 15, 2023
1 parent c0b9516 commit e81c528
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/authconfigs/patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func init() {
var name string

PatchCmd.Flags().StringVarP(&name, "name", "n",
"", "Connection name")
"", "AuthConfig name")
PatchCmd.Flags().StringVarP(&authConfigFile, "file", "f",
"", "AuthConfig details JSON file path")
PatchCmd.Flags().StringArrayVarP(&updateMask, "update-mask", "",
Expand Down
2 changes: 1 addition & 1 deletion internal/client/authconfigs/authconfigs.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func Patch(name string, content []byte, updateMask []string) (respBody []byte, e
return nil, err
}

u, _ := url.Parse(apiclient.GetBaseConnectorURL())
u, _ := url.Parse(apiclient.GetBaseIntegrationURL())

if len(updateMask) != 0 {
updates := strings.Join(updateMask, ",")
Expand Down

0 comments on commit e81c528

Please sign in to comment.