Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Matrix-X committed Sep 25, 2024
1 parent 5ec7969 commit ab31569
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/provider/brainx/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
)

type BrainXServiceProvider struct {
client *BrainXProviderClient
Client *BrainXProviderClient
}

func NewBrainXServiceProvider(svcCtx *svc.ServiceContext) *BrainXServiceProvider {

return &BrainXServiceProvider{
client: NewBrainXProviderClient(&svcCtx.Config, svcCtx.PowerX.Cache),
Client: NewBrainXProviderClient(&svcCtx.Config, svcCtx.PowerX.Cache),
}
}

Expand All @@ -23,7 +23,7 @@ func (sp *BrainXServiceProvider) HelloWorld() (message string, err error) {
"name": "powerx",
"message": "hello",
}
resp, err := sp.client.HTTPPost(url, jsonBody, true, nil)
resp, err := sp.Client.HTTPPost(url, jsonBody, true, nil)
if err != nil {
return "", err
}
Expand Down

0 comments on commit ab31569

Please sign in to comment.