1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

Add maxAccessCount to send command (#298)

This commit is contained in:
Me
2021-05-11 21:55:04 +02:00
committed by GitHub
parent 14ad6c06f2
commit 5edd0a2c76
2 changed files with 3 additions and 0 deletions

View File

@@ -60,8 +60,10 @@ export class SendCreateCommand {
const text = req.text?.text ?? options.text;
const hidden = req.text?.hidden ?? options.hidden;
const password = req.password ?? options.password;
const maxAccessCount = req.maxAccessCount ?? options.maxAccessCount;
req.key = null;
req.maxAccessCount = maxAccessCount;
switch (req.type) {
case SendType.File: