Skip to content

Commit a0fef5c

Browse files
updated query
1 parent 44741b2 commit a0fef5c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkg/codefresh/cli_releases.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ func newCliReleasesAPI(codefresh *codefresh) ICliReleasesAPI {
2929
func (releases *CliReleases) GetLatest(ctx context.Context) (string, error) {
3030
jsonData := map[string]interface{}{
3131
"query": `{
32-
latestCliRelease {
33-
version
34-
}
32+
latestCliRelease
3533
}`,
3634
}
3735

0 commit comments

Comments
 (0)