From a4ccc6c2e8828ce5f52d2b4b7bc067e227c9d891 Mon Sep 17 00:00:00 2001 From: Simran Khalsa <68570441+skhalsa-sigsci@users.noreply.github.com> Date: Thu, 23 Jan 2025 12:03:57 -0800 Subject: [PATCH] update comments --- api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.go b/api.go index e0dae28..c3dd7b3 100644 --- a/api.go +++ b/api.go @@ -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) @@ -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 {