mirror of
https://github.com/bitwarden/server.git
synced 2025-01-21 21:41:21 +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 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