Skip to content

Commit

Permalink
fix(server): marketplace client init
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Sep 8, 2022
1 parent 4afe992 commit 7528727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/internal/infrastructure/marketplace/marketplace.go
Expand Up @@ -21,7 +21,7 @@ type Marketplace struct {

func New(endpoint string, conf *clientcredentials.Config) *Marketplace {
var client *http.Client
if conf == nil {
if conf != nil {
client = conf.Client(context.Background())
}
if client == nil {
Expand Down

0 comments on commit 7528727

Please sign in to comment.