mirror of
https://github.com/bitwarden/server.git
synced 2025-04-15 10:08:14 -05: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.
|
// 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);
|
await _cipherService.SaveAsync(cipherClone, userId, model.LastKnownRevisionDate, null, true, false);
|
||||||
|
|
||||||
var response = new CipherMiniResponseModel(cipherClone, _globalSettings, cipher.OrganizationUseTotp);
|
var response = new CipherMiniResponseModel(cipherClone, _globalSettings, cipher.OrganizationUseTotp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user