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:
parent
24469e2267
commit
7eb7457b58
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user