Skip to content

Commit

Permalink
Merge pull request #12 from polarsquad/GetEntries
Browse files Browse the repository at this point in the history
Removing extensive logging
  • Loading branch information
mikat-polarsquad authored Oct 2, 2019
2 parents dc389ea + ea8206c commit 6ab62c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion time_entries.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ func (h *Harvest) GetEntries(from time.Time, to time.Time, u User) *TimeEntries
// func (h *Harvest) getAllEntries(l structs.Links, entries *[]structs.Entries, i int) Entries {
func (h *Harvest) getAllEntries(l structs.Links) Entries {
// getURL to fetch additional Entries from Links.Next URL
log.Printf("Fetching URL: %s", l.Next)
body, _ := h.getURL("GET", l.Next)
var times TimeEntries
json.Unmarshal(body, &times)
Expand Down

0 comments on commit 6ab62c6

Please sign in to comment.