1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-18 17:23:14 +00:00

allow gets by search term

This commit is contained in:
Kyle Spearrin
2018-05-16 11:54:59 -04:00
parent df7ccaea9d
commit 0490c6ba3f
4 changed files with 83 additions and 19 deletions

View File

@@ -20,6 +20,10 @@ export class EditCommand {
return Response.badRequest('Error parsing the encoded request data.');
}
if (id != null) {
id = id.toLowerCase();
}
switch (object.toLowerCase()) {
case 'item':
return await this.editCipher(id, req);