1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-14 02:08:50 +02:00

update template ids

This commit is contained in:
Kyle Spearrin 2018-05-18 09:16:34 -04:00
parent e671375749
commit 33f0f5eae0
3 changed files with 8 additions and 8 deletions

View File

@ -298,22 +298,22 @@ export class GetCommand {
case 'item': case 'item':
template = Cipher.template(); template = Cipher.template();
break; break;
case 'field': case 'item.field':
template = Field.template(); template = Field.template();
break; break;
case 'login': case 'item.login':
template = Login.template(); template = Login.template();
break; break;
case 'loginuri': case 'item.login.uri':
template = LoginUri.template(); template = LoginUri.template();
break; break;
case 'card': case 'item.card':
template = Card.template(); template = Card.template();
break; break;
case 'identity': case 'item.identity':
template = Identity.template(); template = Identity.template();
break; break;
case 'securenote': case 'item.securenote':
template = SecureNote.template(); template = SecureNote.template();
break; break;
case 'folder': case 'folder':

View File

@ -115,7 +115,7 @@ export class LoginCommand {
'$ export BW_SESSION="' + process.env.BW_SESSION + '"\n' + '$ export BW_SESSION="' + process.env.BW_SESSION + '"\n' +
'> $env:BW_SESSION="' + process.env.BW_SESSION + '"\n\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' + '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; res.raw = process.env.BW_SESSION;
return Response.success(res); return Response.success(res);
} catch (e) { } catch (e) {

View File

@ -37,7 +37,7 @@ export class UnlockCommand {
'$ export BW_SESSION="' + process.env.BW_SESSION + '"\n' + '$ export BW_SESSION="' + process.env.BW_SESSION + '"\n' +
'> $env:BW_SESSION="' + process.env.BW_SESSION + '"\n\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' + '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; res.raw = process.env.BW_SESSION;
return Response.success(res); return Response.success(res);
} else { } else {