1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-24 00:23:17 +00:00

respond to review comments

This commit is contained in:
John Harrington
2025-12-30 16:12:02 -07:00
parent 0fd81faabb
commit 07eb16d8ec
6 changed files with 27 additions and 21 deletions

View File

@@ -107,12 +107,6 @@ export class SendEditCommand {
try {
const [encSend, encFileData] = await this.sendService.encrypt(sendView, null, req.password);
// Add dates from template
encSend.deletionDate = sendView.deletionDate;
encSend.expirationDate = sendView.expirationDate;
encSend.emails = req.emails && req.emails.join(",");
encSend.authType = req.authType;
await this.sendApiService.save([encSend, encFileData]);
} catch (e) {
return Response.error(e);