1
0
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:
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);
/// <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);
}

View File

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

View File

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