mirror of
https://github.com/bitwarden/server.git
synced 2025-06-06 11:10: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);
|
||||
|
||||
/// <summary>
|
||||
/// Marks notifications as deleted by a task Id.
|
||||
/// Marks notifications as deleted by a taskId.
|
||||
/// </summary>
|
||||
/// <param name="taskId">The unique identifier of the task.</param>
|
||||
/// <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>
|
||||
Task<IEnumerable<Guid>> MarkNotificationsAsDeletedByTask(Guid taskId);
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ BEGIN
|
||||
WHERE n.TaskId = @TaskId
|
||||
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
|
||||
FROM @UserIdsForAlteredNotifications u;
|
||||
END
|
||||
|
@ -28,7 +28,7 @@ BEGIN
|
||||
WHERE n.TaskId = @TaskId
|
||||
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
|
||||
FROM @UserIdsForAlteredNotifications u;
|
||||
END
|
||||
|
Loading…
x
Reference in New Issue
Block a user