debug message
This commit is contained in:
parent
d6aa5ac62c
commit
c0598c6739
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user