Skip to content

Commit

Permalink
[bugfix] Minor fixes to Custom SSL requests
Browse files Browse the repository at this point in the history
  • Loading branch information
nishanths committed May 28, 2016
1 parent 5de9edb commit 3bcc7c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssl.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type ZoneCustomSSLOptions struct {
// ZoneCustomSSLPriority represents a certificate's ID and priority. It is a
// subset of ZoneCustomSSL used for patch requests.
type ZoneCustomSSLPriority struct {
ID string `json:"id"`
ID string `json:"ID"`
Priority int `json:"priority"`
}

Expand Down Expand Up @@ -130,7 +130,7 @@ func (api *API) ReprioritizeSSL(zoneID string, p []ZoneCustomSSLPriority) ([]Zon
}{
Certificates: p,
}
res, err := api.makeRequest("PATCH", uri, params)
res, err := api.makeRequest("PUT", uri, params)
if err != nil {
return nil, errors.Wrap(err, errMakeRequestError)
}
Expand Down

0 comments on commit 3bcc7c9

Please sign in to comment.