From e301c1feebcc1d4b0b97ea705d7251d0363e1413 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Sat, 25 Aug 2018 18:19:26 -0600 Subject: [PATCH] Excessive prints... Printscess? --- 3.0/connectwise/time.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/3.0/connectwise/time.go b/3.0/connectwise/time.go index 0556c4c..dd87787 100644 --- a/3.0/connectwise/time.go +++ b/3.0/connectwise/time.go @@ -183,16 +183,12 @@ func (cw *Site) PostTimeEntry(timeEntry *TimeEntryPost) (*TimeEntry, error) { return nil, fmt.Errorf("could not marshal timeEntry struct to json bytes: %s", err) } - fmt.Println(string(js)) - req := cw.NewRequest("/time/entries", "POST", js) err = req.Do() if err != nil { return nil, fmt.Errorf("post request failed for %s: %s", req.RestAction, err) } - fmt.Println(string(req.Body)) - te := &TimeEntry{} err = json.Unmarshal(req.Body, te) if err != nil {