1
0
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:
Nick Krantz 2025-06-04 09:45:16 -05:00
parent 9850fdc22a
commit 963c7e9db2
No known key found for this signature in database
GPG Key ID: FF670021ABCAB82E
3 changed files with 4 additions and 4 deletions

View File

@ -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);
} }

View File

@ -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

View File

@ -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