1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

get templates

This commit is contained in:
Kyle Spearrin
2018-05-14 16:25:14 -04:00
parent a1238ff685
commit 85770b7cbb
14 changed files with 222 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ export class DeleteCommand {
constructor(private cipherService: CipherService, private folderService: FolderService) { }
async run(object: string, id: string, cmd: program.Command): Promise<Response> {
switch (object) {
switch (object.toLowerCase()) {
case 'item':
return await this.deleteCipher(id);
case 'folder':