1
0
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:
Thomas Avery 2024-10-16 14:29:27 -05:00
parent 8a1c761d8b
commit 9278677d30
No known key found for this signature in database
GPG Key ID: 44A02A0410B0F429

View File

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