mirror of
https://github.com/bitwarden/server.git
synced 2024-12-26 17:37:36 +01:00
formatting
This commit is contained in:
parent
84df4235c5
commit
39cc487667
@ -168,7 +168,8 @@ namespace Bit.Core.Repositories.SqlServer
|
||||
|
||||
public async Task<bool> ReplaceAsync(Cipher obj, IEnumerable<Guid> collectionIds)
|
||||
{
|
||||
var objWithCollections = JsonConvert.DeserializeObject<CipherWithCollections>(JsonConvert.SerializeObject(obj));
|
||||
var objWithCollections = JsonConvert.DeserializeObject<CipherWithCollections>(
|
||||
JsonConvert.SerializeObject(obj));
|
||||
objWithCollections.CollectionIds = collectionIds.ToGuidIdArrayTVP();
|
||||
|
||||
using(var connection = new SqlConnection(ConnectionString))
|
||||
|
Loading…
Reference in New Issue
Block a user