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

Fix Organization put drops cipher updates (#1044)

This commit is contained in:
Matt Gibson
2020-12-17 11:19:14 -06:00
committed by GitHub
parent 1b8d5a8ee8
commit a46d678d6e

View File

@@ -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);