Skip to content

Commit

Permalink
docs: update getPassword example
Browse files Browse the repository at this point in the history
  • Loading branch information
ctn-malone committed Aug 29, 2023
1 parent 43eb409 commit 0e629ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/password-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ Retrieve a password
```js
const payload = await getPassword('email/gmail1', {json: true});
if (!payload) {
console.error('Password does not exist');
console.log('Password does not exist');
std.exit(1);
}
const { username, password } = payload;
console.log(`username = ${username}, password = ${password}`);
```
```

0 comments on commit 0e629ea

Please sign in to comment.