Browse Source

add comment

Shun Miyazawa 4 years ago
parent
commit
e858aea1e5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/app/src/server/service/comment.ts

+ 2 - 2
packages/app/src/server/service/comment.ts

@@ -73,7 +73,7 @@ class CommentService {
 
   createAndSendNotifications = async function(comment, actionType) {
 
-    // create activity
+    // Create activity
     const parameters = {
       user: comment.creator,
       targetModel: ActivityDefine.MODEL_PAGE,
@@ -88,7 +88,7 @@ class CommentService {
     let targetUsers: Types.ObjectId[] = [];
     targetUsers = await activity.getNotificationTargetUsers();
 
-    // create and send notifications
+    // Create and send notifications
     await this.inAppNotificationService.emitSocketIo(targetUsers);
     await this.inAppNotificationService.upsertByActivity(targetUsers, activity);
   };