Skip to content

Commit

Permalink
feat: add support of .value on PATCH /api/v1/challenges
Browse files Browse the repository at this point in the history
  • Loading branch information
pandatix committed Jan 4, 2024
1 parent 4b5993e commit 73fed36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/challenges.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ type PatchChallengeParams struct {
Description string `json:"description"`
Function string `json:"function"`
ConnectionInfo *string `json:"connection_info,omitempty"`
Value *int `json:"value,omitempty"`
Initial *int `json:"initial,omitempty"`
Decay *int `json:"decay,omitempty"`
Minimum *int `json:"minimum,omitempty"`
Expand Down

0 comments on commit 73fed36

Please sign in to comment.