mirror of
https://github.com/bitwarden/server.git
synced 2025-02-01 23:31:41 +01:00
fix dapper call
This commit is contained in:
parent
8a1c761d8b
commit
9278677d30
@ -26,6 +26,11 @@ public class UserAsymmetricKeysRepository : BaseRepository, IUserAsymmetricKeysR
|
|||||||
await using var connection = new SqlConnection(ConnectionString);
|
await using var connection = new SqlConnection(ConnectionString);
|
||||||
|
|
||||||
await connection.ExecuteAsync("[dbo].[UserAsymmetricKeys_Regenerate]",
|
await connection.ExecuteAsync("[dbo].[UserAsymmetricKeys_Regenerate]",
|
||||||
userAsymmetricKeys, commandType: CommandType.StoredProcedure);
|
new
|
||||||
|
{
|
||||||
|
userAsymmetricKeys.UserId,
|
||||||
|
userAsymmetricKeys.PublicKey,
|
||||||
|
PrivateKey = userAsymmetricKeys.UserKeyEncryptedPrivateKey
|
||||||
|
}, commandType: CommandType.StoredProcedure);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user