Skip to content

Commit

Permalink
fix: base url options (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
achettyiitr authored Jun 12, 2024
1 parent a99ad6c commit 290c147
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion options.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import (
"net/url"
"time"

"github.com/rudderlabs/rudder-cp-sdk/identity"
"github.com/rudderlabs/rudder-go-kit/logger"

"github.com/rudderlabs/rudder-cp-sdk/identity"
)

type Option func(*ControlPlane) error
Expand Down Expand Up @@ -43,6 +44,7 @@ func WithBaseUrl(baseUrl string) Option {
}

cp.baseUrl = url
cp.baseUrlV2 = url
return nil
}
}
Expand Down

0 comments on commit 290c147

Please sign in to comment.