瀏覽代碼

clean code

kaori 4 年之前
父節點
當前提交
96c8b05c7c
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      packages/app/src/server/service/notification.ts

+ 0 - 1
packages/app/src/server/service/notification.ts

@@ -23,7 +23,6 @@ class NortificationService {
       this.notificationEvent.onUpdate();
 
       if (this.socketIoService.isInitialized) {
-        // need to pass user in second argument
         this.socketIoService.getDefaultSocket().emit('notification updated', { user });
       }
     });