summaryrefslogtreecommitdiff
path: root/internal/github
diff options
context:
space:
mode:
Diffstat (limited to 'internal/github')
-rw-r--r--internal/github/github.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/github/github.go b/internal/github/github.go
index a8909a8..e48fc50 100644
--- a/internal/github/github.go
+++ b/internal/github/github.go
@@ -23,8 +23,8 @@ type Client struct {
var _ forge.RepoClient = (*Client)(nil)
// NewClient creates a new GitHub API client
-func NewClient(token, org string) Client {
- return Client{
+func NewClient(token, org string) *Client {
+ return &Client{
token: loadToken(token),
org: org,
}