File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class CommandList extends CommandPolykey {
19
19
this . addOption ( binOptions . nodeId ) ;
20
20
this . addOption ( binOptions . clientHost ) ;
21
21
this . addOption ( binOptions . clientPort ) ;
22
- this . action ( async ( vaultPattern , options ) => {
22
+ this . action ( async ( secretPath , options ) => {
23
23
const { default : PolykeyClient } = await import (
24
24
'polykey/dist/PolykeyClient'
25
25
) ;
@@ -52,8 +52,8 @@ class CommandList extends CommandPolykey {
52
52
const secretPaths : Array < string > = [ ] ;
53
53
const stream = await pkClient . rpcClient . methods . vaultsSecretsList ( {
54
54
metadata : auth ,
55
- nameOrId : vaultPattern [ 0 ] ,
56
- secretName : vaultPattern [ 1 ] ?? '/' ,
55
+ nameOrId : secretPath [ 0 ] ,
56
+ secretName : secretPath [ 1 ] ?? '/' ,
57
57
} ) ;
58
58
for await ( const secret of stream ) {
59
59
// Remove leading slashes
You can’t perform that action at this time.
0 commit comments