summaryrefslogtreecommitdiffstats
path: root/cmd/sl.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/sl.go')
-rw-r--r--cmd/sl.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/sl.go b/cmd/sl.go
index 6a6af63..1efa9e2 100644
--- a/cmd/sl.go
+++ b/cmd/sl.go
@@ -30,8 +30,7 @@ func init() {
}
func runSLSearch(cmd *cobra.Command, args []string) error {
- apiKey, _ := cmd.Flags().GetString("api-key")
- cfg := config.New().WithAPIKey(apiKey)
+ cfg := config.New()
c, err := client.New(cfg)
if err != nil {