debugging updateTicketStatus

This commit is contained in:
Steven Polley 2018-09-28 16:50:24 -06:00
parent 1a8fa52767
commit 249cf7f366

View File

@ -681,6 +681,8 @@ func (cw *Site) SetTicketStatus(ticketID, statusID int) (*Ticket, error) {
return nil, fmt.Errorf("request failed for %s: %s", req.RestAction, err) return nil, fmt.Errorf("request failed for %s: %s", req.RestAction, err)
} }
fmt.Println(string(req.Body))
ticket := &Ticket{} ticket := &Ticket{}
err = json.Unmarshal(req.Body, ticket) err = json.Unmarshal(req.Body, ticket)
if err != nil { if err != nil {