mirror of
https://github.com/bitwarden/server.git
synced 2025-06-08 04:00:31 -05:00
refactor "Active" to "NonDeleted" for stored procedure
This commit is contained in:
parent
f553fd7f3d
commit
d15e769564
@ -62,7 +62,7 @@ public class NotificationRepository : Repository<Notification, Guid>, INotificat
|
||||
await using var connection = new SqlConnection(ConnectionString);
|
||||
|
||||
var results = await connection.QueryAsync<Notification>(
|
||||
"[dbo].[Notification_ReadActiveByTaskId]",
|
||||
"[dbo].[Notification_ReadNonDeletedByTaskId]",
|
||||
new
|
||||
{
|
||||
TaskId = taskId,
|
||||
|
@ -1,4 +1,4 @@
|
||||
CREATE PROCEDURE [dbo].[Notification_ReadActiveByTaskId]
|
||||
CREATE PROCEDURE [dbo].[Notification_ReadNonDeletedByTaskId]
|
||||
@TaskId UNIQUEIDENTIFIER
|
||||
AS
|
||||
BEGIN
|
@ -1,4 +1,4 @@
|
||||
CREATE OR ALTER PROCEDURE [dbo].[Notification_ReadActiveByTaskId]
|
||||
CREATE OR ALTER PROCEDURE [dbo].[Notification_ReadNonDeletedByTaskId]
|
||||
@TaskId UNIQUEIDENTIFIER
|
||||
AS
|
||||
BEGIN
|
Loading…
x
Reference in New Issue
Block a user