Skip to content
Snippets Groups Projects
Commit 6be90718 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

DestroyRecord: method is actually DELETE

parent a545bfcf
Branches
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ func (c *Client) DestroyRecord(record int) (Record, error) {
q := url.Values{}
q.Set("record_id", url.QueryEscape(fmt.Sprintf("%d", record)))
res, err := c.do("POST", "destroy_record", q)
res, err := c.do("DELETE", "destroy_record", q)
if err != nil {
return Record{}, err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment