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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user