mirror of
https://github.com/bitwarden/server
synced 2026-02-22 04:13:43 +00:00
fix: argument input for SP.
test: add database tests for new SP
This commit is contained in:
@@ -156,8 +156,8 @@ public class EmergencyAccessRepository : Repository<EmergencyAccess, Guid>, IEme
|
||||
{
|
||||
using var connection = new SqlConnection(ConnectionString);
|
||||
await connection.ExecuteAsync(
|
||||
"[dbo].[EmergencyAccess_DeleteMany]",
|
||||
new { EmergencyAccessIds = emergencyAccessIds },
|
||||
"[dbo].[EmergencyAccess_DeleteManyById]",
|
||||
new { EmergencyAccessIds = emergencyAccessIds.ToGuidIdArrayTVP() },
|
||||
commandType: CommandType.StoredProcedure);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user