Skip to content

Commit

Permalink
fix client
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Jan 22, 2024
1 parent cd055ca commit c2dbd31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/pkg/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
type Github struct {
body *bytes.Buffer
log *logrus.Logger
client *http.Client
client http.Client
api string
cache *freecache.Cache
}
Expand All @@ -24,7 +24,7 @@ func NewGithub() *Github {
return &Github{
body: bytes.NewBuffer([]byte(`{"state":"success", "context": "coveritup", "description": "authenticated"}`)),
log: Logger(),
client: &http.Client{},
client: http.Client{},
api: os.Getenv("GITHUB_API"),
cache: db.Cache(),
}
Expand Down

0 comments on commit c2dbd31

Please sign in to comment.