Browse Source

add count arg in right place

Alexander Belanger 4 years ago
parent
commit
85974d4ea0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      services/usage/usage.go

+ 2 - 0
services/usage/usage.go

@@ -76,6 +76,8 @@ func (u *UsageTracker) GetProjectUsage() (map[uint]*UsageTrackerResponse, error)
 		return nil, err
 	}
 
+	fmt.Println("COUNT OF PROJECTS:", count)
+
 	// iterate (count / stepSize) + 1 times using Limit and Offset
 	for i := 0; i < (int(count)/stepSize)+1; i++ {
 		projects := []*models.Project{}