summaryrefslogtreecommitdiff
path: root/internal/cli/description_sync.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cli/description_sync.go')
-rw-r--r--internal/cli/description_sync.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/internal/cli/description_sync.go b/internal/cli/description_sync.go
index 317bcdf..6a83c1e 100644
--- a/internal/cli/description_sync.go
+++ b/internal/cli/description_sync.go
@@ -24,12 +24,10 @@ func syncRepoDescriptions(cfg *config.Config, dryRun bool, repoName, knownCBDesc
var ghClient *github.Client
var cbClient *codeberg.Client
if ghOrg != nil {
- c := github.NewClient(ghOrg.GitHubToken, ghOrg.Name)
- ghClient = &c
+ ghClient = github.NewClient(ghOrg.GitHubToken, ghOrg.Name)
}
if cbOrg != nil {
- c := codeberg.NewClient(cbOrg.Name, cbOrg.CodebergToken)
- cbClient = &c
+ cbClient = codeberg.NewClient(cbOrg.CodebergToken, cbOrg.Name)
}
// Get current descriptions (use known if provided)