1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-29 13:25:17 +01:00

[SG-816] Fix sp call (#2416)

This commit is contained in:
André Bispo 2022-11-16 17:15:20 +00:00 committed by GitHub
parent 24469e2267
commit 7eb7457b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ public class AuthRequestRepository : Repository<AuthRequest, Guid>, IAuthRequest
using (var connection = new SqlConnection(ConnectionString)) using (var connection = new SqlConnection(ConnectionString))
{ {
var results = await connection.QueryAsync<AuthRequest>( var results = await connection.QueryAsync<AuthRequest>(
"[{Schema}].[AuthRequest_ReadByUserId]", $"[{Schema}].[AuthRequest_ReadByUserId]",
new { UserId = userId }, new { UserId = userId },
commandType: CommandType.StoredProcedure); commandType: CommandType.StoredProcedure);