Skip to content

Commit 92acad3

Browse files
authored
Merge pull request #126 from Alancere/queryTestRuns_time_format
QueryTestRuns Time Format
2 parents 00dac5c + 41f527d commit 92acad3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azuredevops/v6/test/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1719,11 +1719,11 @@ func (client *ClientImpl) QueryTestRuns(ctx context.Context, args QueryTestRunsA
17191719
if args.MinLastUpdatedDate == nil {
17201720
return nil, &azuredevops.ArgumentNilError{ArgumentName: "minLastUpdatedDate"}
17211721
}
1722-
queryParams.Add("minLastUpdatedDate", (*args.MinLastUpdatedDate).String())
1722+
queryParams.Add("minLastUpdatedDate", (*args.MinLastUpdatedDate).AsQueryParameter())
17231723
if args.MaxLastUpdatedDate == nil {
17241724
return nil, &azuredevops.ArgumentNilError{ArgumentName: "maxLastUpdatedDate"}
17251725
}
1726-
queryParams.Add("maxLastUpdatedDate", (*args.MaxLastUpdatedDate).String())
1726+
queryParams.Add("maxLastUpdatedDate", (*args.MaxLastUpdatedDate).AsQueryParameter())
17271727
if args.State != nil {
17281728
queryParams.Add("state", string(*args.State))
17291729
}

0 commit comments

Comments
 (0)