debug message

This commit is contained in:
Steven Polley 2019-01-16 14:24:24 -07:00
parent d6aa5ac62c
commit c0598c6739
1 changed files with 1 additions and 0 deletions

View File

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