Skip to content

Commit

Permalink
udpate typos
Browse files Browse the repository at this point in the history
  • Loading branch information
aabughosh committed Nov 2, 2023
1 parent de14d59 commit 154f481
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cnf-certification-test/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func RunHandler(w http.ResponseWriter, r *http.Request) {

jsonData := r.FormValue("jsonData") // "jsonData" is the name of the JSON input field
log.Info(jsonData)
var data RequstedData
var data RequestedData
if err := json.Unmarshal([]byte(jsonData), &data); err != nil {
fmt.Println("Error:", err)
}
Expand Down
2 changes: 1 addition & 1 deletion cnf-certification-test/webserver_function.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func logStreamHandler(w http.ResponseWriter, r *http.Request) {
}
}

type RequstedData struct {
type RequestedData struct {
SelectedOptions interface{} `json:"selectedOptions"`
}
type ResponseData struct {
Expand Down

0 comments on commit 154f481

Please sign in to comment.