Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
skhalsa-sigsci committed Jan 23, 2025
1 parent 4896106 commit a4ccc6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -3063,7 +3063,7 @@ type ResponseSimulationBody struct {
} `json:"data"`
}

// getSimulationOutput gets the simulation output
// getResponseSimulationBody gets the simulation response
func getResponseSimulationBody(response []byte) (ResponseSimulationBody, error) {
var responseSimulation ResponseSimulationBody
err := json.Unmarshal(response, &responseSimulation)
Expand All @@ -3073,7 +3073,7 @@ func getResponseSimulationBody(response []byte) (ResponseSimulationBody, error)
return responseSimulation, nil
}

// SendSimulation sends a simulation test to
// SendSimulation sends a simulation test and returns the response
func (sc *Client) SendSimulation(corpName, siteName string, body SimulationBody) (ResponseSimulationBody, error) {
b, err := json.Marshal(body)
if err != nil {
Expand Down

0 comments on commit a4ccc6c

Please sign in to comment.