Skip to content

Commit

Permalink
remove dup logs
Browse files Browse the repository at this point in the history
dup in func PostWithBody
  • Loading branch information
honkiko committed Apr 5, 2023
1 parent 56f3593 commit cb63d18
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions request/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ func (cli *Request) GetWithBody(url string) (*http.Response, error) {
}

func (cli *Request) Post(url string, params interface{}, response interface{}) error {
cli.logger().Info(context.Background(), "request url: %s", url)
cli.logger().Info(context.Background(), "request params: %+v", params)

resp, err := cli.PostWithBody(url, params)
if err != nil {
cli.logger().Error(context.Background(), "post error: %s", err)
Expand Down

0 comments on commit cb63d18

Please sign in to comment.