Skip to content

Commit

Permalink
chore: rebuild project due to codegen change (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Nov 12, 2024
1 parent 0d526fb commit b1eb526
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/requestconfig/requestconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,10 @@ func retryDelay(res *http.Response, retryCount int) time.Duration {
}

func (cfg *RequestConfig) Execute() (err error) {
if cfg.BaseURL == nil {
return fmt.Errorf("requestconfig: base url is not set")
}

cfg.Request.URL, err = cfg.BaseURL.Parse(strings.TrimLeft(cfg.Request.URL.String(), "/"))
if err != nil {
return err
Expand Down

0 comments on commit b1eb526

Please sign in to comment.