mirror of
https://github.com/bitwarden/server.git
synced 2025-02-27 03:41:30 +01:00
Fix Organization put drops cipher updates (#1044)
This commit is contained in:
parent
1b8d5a8ee8
commit
a46d678d6e
@ -187,7 +187,7 @@ namespace Bit.Api.Controllers
|
||||
}
|
||||
|
||||
// object cannot be a descendant of CipherDetails, so let's clone it.
|
||||
var cipherClone = cipher.Clone();
|
||||
var cipherClone = model.ToCipher(cipher).Clone();
|
||||
await _cipherService.SaveAsync(cipherClone, userId, model.LastKnownRevisionDate, null, true, false);
|
||||
|
||||
var response = new CipherMiniResponseModel(cipherClone, _globalSettings, cipher.OrganizationUseTotp);
|
||||
|
Loading…
Reference in New Issue
Block a user