debugging updateTicketStatus
This commit is contained in:
parent
1a8fa52767
commit
249cf7f366
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user