Skip to content

Commit

Permalink
Merge pull request #50 from grafana/fix-build-api
Browse files Browse the repository at this point in the history
fix api json mapping
  • Loading branch information
pablochacin authored Oct 25, 2024
2 parents 1e2e1c4 + 7e0218e commit a88d112
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (

// BuildRequest defines a request to the build service
type BuildRequest struct {
K6Constrains string `json:"k6:omitempty"`
K6Constrains string `json:"k6,omitempty"`
Dependencies []k6build.Dependency `json:"dependencies,omitempty"`
Platform string `json:"platformomitempty"`
Platform string `json:"platform,omitempty"`
}

// String returns a text serialization of the BuildRequest
Expand Down

0 comments on commit a88d112

Please sign in to comment.