From 963c7e9db2cf88bb012a1d26d6dc9ffb93476dd8 Mon Sep 17 00:00:00 2001 From: Nick Krantz Date: Wed, 4 Jun 2025 09:45:16 -0500 Subject: [PATCH] consistency in comments regarding `taskId` and `UserId` --- .../Repositories/INotificationRepository.cs | 4 ++-- .../Stored Procedures/Notification_MarkAsDeletedByTask.sql | 2 +- .../2025-05-30_00_Notification_MarkAsDeletedByTask.sql | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Core/NotificationCenter/Repositories/INotificationRepository.cs b/src/Core/NotificationCenter/Repositories/INotificationRepository.cs index 565cbafa5f..0d0ea80491 100644 --- a/src/Core/NotificationCenter/Repositories/INotificationRepository.cs +++ b/src/Core/NotificationCenter/Repositories/INotificationRepository.cs @@ -34,11 +34,11 @@ public interface INotificationRepository : IRepository NotificationStatusFilter? statusFilter, PageOptions pageOptions); /// - /// Marks notifications as deleted by a task Id. + /// Marks notifications as deleted by a taskId. /// /// The unique identifier of the task. /// - /// 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. /// Task> MarkNotificationsAsDeletedByTask(Guid taskId); } diff --git a/src/Sql/NotificationCenter/dbo/Stored Procedures/Notification_MarkAsDeletedByTask.sql b/src/Sql/NotificationCenter/dbo/Stored Procedures/Notification_MarkAsDeletedByTask.sql index 42f2e5d3e8..a2c16079f7 100644 --- a/src/Sql/NotificationCenter/dbo/Stored Procedures/Notification_MarkAsDeletedByTask.sql +++ b/src/Sql/NotificationCenter/dbo/Stored Procedures/Notification_MarkAsDeletedByTask.sql @@ -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 diff --git a/util/Migrator/DbScripts/2025-05-30_00_Notification_MarkAsDeletedByTask.sql b/util/Migrator/DbScripts/2025-05-30_00_Notification_MarkAsDeletedByTask.sql index fd49ec9f81..43989a4cac 100644 --- a/util/Migrator/DbScripts/2025-05-30_00_Notification_MarkAsDeletedByTask.sql +++ b/util/Migrator/DbScripts/2025-05-30_00_Notification_MarkAsDeletedByTask.sql @@ -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