mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-22 21:21:35 +01:00
update template ids
This commit is contained in:
parent
e671375749
commit
33f0f5eae0
@ -298,22 +298,22 @@ export class GetCommand {
|
||||
case 'item':
|
||||
template = Cipher.template();
|
||||
break;
|
||||
case 'field':
|
||||
case 'item.field':
|
||||
template = Field.template();
|
||||
break;
|
||||
case 'login':
|
||||
case 'item.login':
|
||||
template = Login.template();
|
||||
break;
|
||||
case 'loginuri':
|
||||
case 'item.login.uri':
|
||||
template = LoginUri.template();
|
||||
break;
|
||||
case 'card':
|
||||
case 'item.card':
|
||||
template = Card.template();
|
||||
break;
|
||||
case 'identity':
|
||||
case 'item.identity':
|
||||
template = Identity.template();
|
||||
break;
|
||||
case 'securenote':
|
||||
case 'item.securenote':
|
||||
template = SecureNote.template();
|
||||
break;
|
||||
case 'folder':
|
||||
|
@ -115,7 +115,7 @@ export class LoginCommand {
|
||||
'$ export BW_SESSION="' + process.env.BW_SESSION + '"\n' +
|
||||
'> $env:BW_SESSION="' + process.env.BW_SESSION + '"\n\n' +
|
||||
'You can also pass the session key to any command with the `--session` option. ex:\n' +
|
||||
'$ bw get items --session ' + process.env.BW_SESSION);
|
||||
'$ bw list items --session ' + process.env.BW_SESSION);
|
||||
res.raw = process.env.BW_SESSION;
|
||||
return Response.success(res);
|
||||
} catch (e) {
|
||||
|
@ -37,7 +37,7 @@ export class UnlockCommand {
|
||||
'$ export BW_SESSION="' + process.env.BW_SESSION + '"\n' +
|
||||
'> $env:BW_SESSION="' + process.env.BW_SESSION + '"\n\n' +
|
||||
'You can also pass the session key to any command with the `--session` option. ex:\n' +
|
||||
'$ bw get items --session ' + process.env.BW_SESSION);
|
||||
'$ bw list items --session ' + process.env.BW_SESSION);
|
||||
res.raw = process.env.BW_SESSION;
|
||||
return Response.success(res);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user