mirror of
https://github.com/bitwarden/server.git
synced 2025-06-07 03:30:32 -05:00
consistency in comments regarding taskId
and UserId
This commit is contained in:
parent
9850fdc22a
commit
963c7e9db2
@ -34,11 +34,11 @@ public interface INotificationRepository : IRepository<Notification, Guid>
|
|||||||
NotificationStatusFilter? statusFilter, PageOptions pageOptions);
|
NotificationStatusFilter? statusFilter, PageOptions pageOptions);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Marks notifications as deleted by a task Id.
|
/// Marks notifications as deleted by a taskId.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="taskId">The unique identifier of the task.</param>
|
/// <param name="taskId">The unique identifier of the task.</param>
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// A collection of users ids for the notifications that are now marked as deleted.
|
/// A collection of UserIds for the notifications that are now marked as deleted.
|
||||||
/// </returns>
|
/// </returns>
|
||||||
Task<IEnumerable<Guid>> MarkNotificationsAsDeletedByTask(Guid taskId);
|
Task<IEnumerable<Guid>> MarkNotificationsAsDeletedByTask(Guid taskId);
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ BEGIN
|
|||||||
WHERE n.TaskId = @TaskId
|
WHERE n.TaskId = @TaskId
|
||||||
AND ns.NotificationId IS NULL;
|
AND ns.NotificationId IS NULL;
|
||||||
|
|
||||||
-- Return the user ids associated with the altered notifications
|
-- Return the UserIds associated with the altered notifications
|
||||||
SELECT u.UserId
|
SELECT u.UserId
|
||||||
FROM @UserIdsForAlteredNotifications u;
|
FROM @UserIdsForAlteredNotifications u;
|
||||||
END
|
END
|
||||||
|
@ -28,7 +28,7 @@ BEGIN
|
|||||||
WHERE n.TaskId = @TaskId
|
WHERE n.TaskId = @TaskId
|
||||||
AND ns.NotificationId IS NULL;
|
AND ns.NotificationId IS NULL;
|
||||||
|
|
||||||
-- Return the user ids associated with the altered notifications
|
-- Return the UserIds associated with the altered notifications
|
||||||
SELECT u.UserId
|
SELECT u.UserId
|
||||||
FROM @UserIdsForAlteredNotifications u;
|
FROM @UserIdsForAlteredNotifications u;
|
||||||
END
|
END
|
||||||
|
Loading…
x
Reference in New Issue
Block a user