Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
change to PUT
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Dec 9, 2019
1 parent 82f9d74 commit 8b5a488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/org/setprop/setprop.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func SetOrgProperty(name string, value string) (err error) {

u, _ = url.Parse(shared.BaseURL)
u.Path = path.Join(u.Path, shared.RootArgs.Org)
_, err = shared.HttpClient(true, u.String(), string(newOrgBody))
_, err = shared.HttpClient(true, u.String(), string(newOrgBody), "PUT")

return err
}

0 comments on commit 8b5a488

Please sign in to comment.