Skip to content

Commit 17e740b

Browse files
Merge pull request #28 from JankariTech/onlyTrackedProjects
get only projects that can be tracked
2 parents 213dbe0 + 2e2f3bd commit 17e740b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tmetric/tmetric.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ func GetAllProjects(config *config.Config, tmetricUser User, client Client) ([]P
8080
)
8181
resp, err := httpClient.R().
8282
SetQueryParam("ClientList", strconv.Itoa(client.Id)).
83+
SetQueryParam("onlyTracked", "true").
8384
SetAuthToken(config.TmetricToken).
8485
Get(tmetricUrl)
8586
if err != nil || resp.StatusCode() != 200 {

0 commit comments

Comments
 (0)