Skip to content

Commit 963c7e9

Browse files
consistency in comments regarding taskId and UserId
1 parent 9850fdc commit 963c7e9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Core/NotificationCenter/Repositories/INotificationRepository.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ Task<PagedResult<NotificationStatusDetails>> GetByUserIdAndStatusAsync(Guid user
3434
NotificationStatusFilter? statusFilter, PageOptions pageOptions);
3535

3636
/// <summary>
37-
/// Marks notifications as deleted by a task Id.
37+
/// Marks notifications as deleted by a taskId.
3838
/// </summary>
3939
/// <param name="taskId">The unique identifier of the task.</param>
4040
/// <returns>
41-
/// A collection of users ids for the notifications that are now marked as deleted.
41+
/// A collection of UserIds for the notifications that are now marked as deleted.
4242
/// </returns>
4343
Task<IEnumerable<Guid>> MarkNotificationsAsDeletedByTask(Guid taskId);
4444
}

src/Sql/NotificationCenter/dbo/Stored Procedures/Notification_MarkAsDeletedByTask.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ BEGIN
2828
WHERE n.TaskId = @TaskId
2929
AND ns.NotificationId IS NULL;
3030

31-
-- Return the user ids associated with the altered notifications
31+
-- Return the UserIds associated with the altered notifications
3232
SELECT u.UserId
3333
FROM @UserIdsForAlteredNotifications u;
3434
END

util/Migrator/DbScripts/2025-05-30_00_Notification_MarkAsDeletedByTask.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ BEGIN
2828
WHERE n.TaskId = @TaskId
2929
AND ns.NotificationId IS NULL;
3030

31-
-- Return the user ids associated with the altered notifications
31+
-- Return the UserIds associated with the altered notifications
3232
SELECT u.UserId
3333
FROM @UserIdsForAlteredNotifications u;
3434
END

0 commit comments

Comments
 (0)