Skip to content

Commit

Permalink
fix builder.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored May 8, 2023
1 parent 005604d commit e814a8e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions fakeyou/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ func (f *fakeyou) restyPost(url string, body interface{}) (*resty.Response, erro
if err != nil {
return nil, err
}
if !strings.Contains(resp.Status(), "200") {
err = fmt.Errorf("%v", resp)
//o.debugPrint(err)
return nil, err
}
return resp, nil
}

Expand All @@ -45,10 +40,5 @@ func (o *fakeyou) restyGet(url string, queryParams map[string]string) (*resty.Re
if err != nil {
return nil, err
}
if !strings.Contains(resp.Status(), "200") {
err = fmt.Errorf("%v", resp)
//o.debugPrint(err)
return nil, err
}
return resp, nil
}

0 comments on commit e814a8e

Please sign in to comment.