This commit is contained in:
Steven Polley 2018-10-11 21:49:07 -06:00
commit 7510bdd6ed

View File

@ -758,6 +758,9 @@ func (cw *Site) SetTicketStatus(ticketID, statusID int) (*Ticket, error) {
return nil, fmt.Errorf("request failed for %s: %s", req.RestAction, err)
}
fmt.Printf("Setting ticket ID '%d' status to '%d'\n", ticketID, statusID)
fmt.Println(string(req.Body))
ticket := &Ticket{}
err = json.Unmarshal(req.Body, ticket)
if err != nil {