summaryrefslogtreecommitdiffstats
path: root/cmd/npd.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/npd.go')
-rw-r--r--cmd/npd.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/npd.go b/cmd/npd.go
index a6bd7b2..9868eae 100644
--- a/cmd/npd.go
+++ b/cmd/npd.go
@@ -44,8 +44,7 @@ func init() {
}
func runNPDSearch(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 {