Skip to content

Commit

Permalink
fix!: typos in comment and attribute name
Browse files Browse the repository at this point in the history
  • Loading branch information
pandatix committed Jan 7, 2025
1 parent 0dde8cc commit 8cf7bfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/configs.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func (client *Client) GetConfigsByKey(key string, opts ...Option) (any, error) {
return config, nil
}

// TODO confirm client.Delete( does not take parameters and returns anything
// TODO confirm delete does not take parameters and returns anything
func (client *Client) DeleteConfigsByKey(key string, opts ...Option) error {
return client.Delete("/configs/"+key, nil, nil, opts...)
}
Expand Down
2 changes: 1 addition & 1 deletion api/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type (
Minimum *int `json:"minimum,omitempty"`
Category string `json:"category"`
Type string `json:"type"`
TypeDate *Type `json:"type_data,omitempty"`
TypeData *Type `json:"type_data,omitempty"`
State string `json:"state"`
NextID *int `json:"next_id"`
Requirements *Requirements `json:"requirements"` // List of challenge IDs to complete before
Expand Down

0 comments on commit 8cf7bfa

Please sign in to comment.