Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
remove json validation, since is not working with external json files
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed Jan 24, 2022
1 parent 331ee3e commit 6600b1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@ func NewApiClient(apiHost string, apiToken string) *ApiClient {

func (c *ApiClient) Submit(method string, path string, data string, schema string) error {

/* TODO : Disable validate for now, since jsons are not included after build
// need a better ide here
err := c.validate(data, schema)
if err != nil {
log.Errorln("Error validating json: ", err, schema)
return err
}
*/

//fmt.Printf("sendRequest: %+v\n", data)
//return nil

Expand Down

0 comments on commit 6600b1b

Please sign in to comment.