debug message

This commit is contained in:
Steven Polley 2019-01-16 14:24:24 -07:00
parent d6aa5ac62c
commit c0598c6739

View File

@ -846,6 +846,7 @@ func (cw *Site) GetSources() (*[]Source, error) {
func (cw *Site) GetTicketNotes(ticketID int) (*[]TicketNote, error) { func (cw *Site) GetTicketNotes(ticketID int) (*[]TicketNote, error) {
req := cw.NewRequest(fmt.Sprintf("/service/tickets/%d/notes", ticketID), "GET", nil) req := cw.NewRequest(fmt.Sprintf("/service/tickets/%d/notes", ticketID), "GET", nil)
req.PageSize = 2000 req.PageSize = 2000
fmt.Println(req.PageSize)
err := req.Do() err := req.Do()
if err != nil { if err != nil {
return nil, fmt.Errorf("request failed for %s: %s", req.RestAction, err) return nil, fmt.Errorf("request failed for %s: %s", req.RestAction, err)